├── src ├── data │ ├── README │ └── refugees.json ├── fonts │ ├── qz-icons.eot │ ├── qz-icons.ttf │ ├── qz-icons.woff │ ├── Calibre-Medium.otf │ ├── PTSerif │ │ ├── PTF55F.ttf │ │ ├── PTF56F.ttf │ │ ├── PTF55F-webfont.eot │ │ ├── PTF55F-webfont.ttf │ │ ├── PTF55F-webfont.woff │ │ ├── Paratype PT Sans Free Font License.txt │ │ └── PTF55F-webfont.svg │ ├── PT_Serif-Web-Bold.ttf │ ├── AdelleSansWeb │ │ ├── AdelleSans_Light.otf │ │ ├── AdelleSansBasic_Bold.eot │ │ ├── AdelleSansBasic_Bold.ttf │ │ ├── AdelleSansBasic_Bold.woff │ │ ├── AdelleSansBasic_Light.eot │ │ ├── AdelleSansBasic_Light.ttf │ │ ├── AdelleSansBasic_Light.woff │ │ ├── AdelleSansBasic_Regular.eot │ │ ├── AdelleSansBasic_Regular.ttf │ │ └── AdelleSansBasic_Regular.woff │ ├── qz-icons.svg │ └── qz-icons.json ├── assets │ └── selecticon.gif ├── README.md ├── styl │ ├── thing.styl │ ├── qz │ │ ├── buttons.styl │ │ ├── share.styl │ │ ├── colors.styl │ │ ├── dropdowns.styl │ │ ├── icons.styl │ │ ├── chart-elements.styl │ │ └── type.styl │ ├── main.styl │ ├── layout.styl │ ├── responsive.styl │ └── normalize.styl ├── js │ ├── main.js │ ├── throttle.js │ ├── detectFeatures.js │ ├── fm.js │ ├── share.js │ ├── libs │ │ └── frameMessager.min.js │ └── thing.js └── jade │ ├── includes │ └── share.jade │ ├── thing.jade │ └── index.jade ├── requirements.txt ├── .gitignore ├── README.md ├── gulp ├── cli.js ├── utils.js └── config.js ├── package.json ├── __build.sh ├── content.json ├── gulpfile.js └── prove.py /src/data/README: -------------------------------------------------------------------------------- 1 | Put your data in this directory 2 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | agate==1.1.0 2 | proof==0.3.0 3 | csvkit==0.9.1 4 | -------------------------------------------------------------------------------- /src/fonts/qz-icons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/qz-icons.eot -------------------------------------------------------------------------------- /src/fonts/qz-icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/qz-icons.ttf -------------------------------------------------------------------------------- /src/assets/selecticon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/assets/selecticon.gif -------------------------------------------------------------------------------- /src/fonts/qz-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/qz-icons.woff -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/* 2 | build 3 | !node_modules/stylus-normalize 4 | .DS_Store 5 | .tmp 6 | .proof 7 | -------------------------------------------------------------------------------- /src/fonts/Calibre-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/Calibre-Medium.otf -------------------------------------------------------------------------------- /src/fonts/PTSerif/PTF55F.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/PTSerif/PTF55F.ttf -------------------------------------------------------------------------------- /src/fonts/PTSerif/PTF56F.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/PTSerif/PTF56F.ttf -------------------------------------------------------------------------------- /src/fonts/PT_Serif-Web-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/PT_Serif-Web-Bold.ttf -------------------------------------------------------------------------------- /src/fonts/PTSerif/PTF55F-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/PTSerif/PTF55F-webfont.eot -------------------------------------------------------------------------------- /src/fonts/PTSerif/PTF55F-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/PTSerif/PTF55F-webfont.ttf -------------------------------------------------------------------------------- /src/fonts/PTSerif/PTF55F-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/PTSerif/PTF55F-webfont.woff -------------------------------------------------------------------------------- /src/fonts/AdelleSansWeb/AdelleSans_Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/AdelleSansWeb/AdelleSans_Light.otf -------------------------------------------------------------------------------- /src/fonts/AdelleSansWeb/AdelleSansBasic_Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/AdelleSansWeb/AdelleSansBasic_Bold.eot -------------------------------------------------------------------------------- /src/fonts/AdelleSansWeb/AdelleSansBasic_Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/AdelleSansWeb/AdelleSansBasic_Bold.ttf -------------------------------------------------------------------------------- /src/fonts/AdelleSansWeb/AdelleSansBasic_Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/AdelleSansWeb/AdelleSansBasic_Bold.woff -------------------------------------------------------------------------------- /src/fonts/AdelleSansWeb/AdelleSansBasic_Light.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/AdelleSansWeb/AdelleSansBasic_Light.eot -------------------------------------------------------------------------------- /src/fonts/AdelleSansWeb/AdelleSansBasic_Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/AdelleSansWeb/AdelleSansBasic_Light.ttf -------------------------------------------------------------------------------- /src/fonts/AdelleSansWeb/AdelleSansBasic_Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/AdelleSansWeb/AdelleSansBasic_Light.woff -------------------------------------------------------------------------------- /src/README.md: -------------------------------------------------------------------------------- 1 | Static assets (images, data files, etc) can be placed in here and will be 2 | automatically moved to the build directory on `gulp build`. 3 | -------------------------------------------------------------------------------- /src/fonts/AdelleSansWeb/AdelleSansBasic_Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/AdelleSansWeb/AdelleSansBasic_Regular.eot -------------------------------------------------------------------------------- /src/fonts/AdelleSansWeb/AdelleSansBasic_Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/AdelleSansWeb/AdelleSansBasic_Regular.ttf -------------------------------------------------------------------------------- /src/fonts/AdelleSansWeb/AdelleSansBasic_Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quartz/refugees/master/src/fonts/AdelleSansWeb/AdelleSansBasic_Regular.woff -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | refugees 2 | ======== 3 | 4 | Setup: 5 | 6 | ``` 7 | mkvirtualenv refugees 8 | pip install -r requirements.txt 9 | ``` 10 | 11 | Run: 12 | 13 | ``` 14 | python prove.py 15 | ``` 16 | -------------------------------------------------------------------------------- /src/styl/thing.styl: -------------------------------------------------------------------------------- 1 | // Interactive-specific css here 2 | 3 | h2 4 | padding-top: 40px !important; 5 | font-size: 32px !important; 6 | page-break-before: always; 7 | 8 | rect 9 | fill: $qz-purp-1 10 | -------------------------------------------------------------------------------- /src/js/main.js: -------------------------------------------------------------------------------- 1 | // @if GULP_ENV='dev' 2 | // Load here modules that will be used for local development 3 | // but are included in