This repo contains at data, preprocessing and helper scripts, proof of concept d3.js pages, and our interactive data visualization.
We're building a visualization that explores factors that impact life expectancy and population.
To prevent cross-site scripting attacks, Chrome won't let scripts load data from a server with a different origin. To set up a local server in Windows, I navigate (from the command line) to the directory of interest and enter
(your_env) ~/.../Causes_of_Mortality$ python -m http.server 8888 &.
and then in Chrome, I enter "localhost:8888" as the URL.
- World Health Organization Cause Specific Mortality Data
- World Bank Population Estimates
- Natural Earth World GeoJSON file
- Lukas Vonlanthen's D3 Map Tutorial: This provided a framework for our visualization and showed an implementation for many of features necessary to bring the data to life.
- Milke Bostock's Legend Example
- Mike Bostock's Zoom to Bounding Box
- Making a bl.ock (Emma Saunders)
- Repo where this project was originally generated as a final project