hannahkates.com/nyc-internet-access
This is an interactive map showing which NYC Community Districts have the most households without broadband internet access. It is a simple vanilla JavaScript application with a d3.js chloropleth map.
- The household internet access data is sourced directly from live data on NYC Open Data, "Internet Master Plan: Broadband Adoption and Infrastructure by Community District" (updated annually)
- The Community District boundaries were originally sourced from NYC Open Data, Dept. of City Planning "Community Districts". However, the file was too large and contained unnecessary details (like piers) for the citywide zoom level of the map. I used mapshaper.org to simplify the geometries and reduce the file size. The resized GeoJSON is stored in this repo.
- d3 v4
- To implement tooltips, I used d3-tip.js written by Justin Palmer. I copied the code directly into this repo because I had trouble finding a stable, secure link to a hosted version online.
- Clone repo
git clone https://github.com/hannahkates/nyc-internet-access.git
- Run using python dev server
python -m SimpleHTTPServer
(or other local server options like Atom Live Server)
This build was guided by these blog posts: