Skip to main content
100%

NYC Map

✓ Published0🌍 Public
IIan Wright
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Simple World Map

This example visualizes the five boroughs of New York City using a conic equal-area projection. The map displays geographic boundaries as vector paths, with a graticule overlay and an outline for context. It fetches TopoJSON data from a GitHub repository and converts it to GeoJSON using `topojson-client`. The rendering relies on `d3.geoPath` and `d3.geoConicEqualArea` from the D3 library, with SVG elements joined via `selectAll().join()`. The projection parameters are tuned specifically for the city’s latitude and longitude range.

AI-generated description
MIT Licensed

Similar vizzes