Map of the Bronx using GIS data and d3.js
Getting coordinates from NYC OpenData I successfully plotted the zip codes
There is still some distortion. However, we know from diffential geometry this could be fixed by some transform, since the Bronx is not that big. I think has to do with the aspect ratio between the latitude and longitude lines around New York City. (x:y=0.7559:1)
In the process I learned about geoJSON polygons, Albers and Mercator projections.
AlbersUSA is the standard one on d3.js
- More on Mercator.
- More on cartography
In geometry class we learned the Earth (i.e. near the Bronx) is basically flat. The curvature of the Earth is negligible for our relatively small map.