Fork of Grid Sampling on Census Tracts - Contours from Points
This interactive map visualizes contours of Black population density across New York City census tracts, projected on a rotatable orthographic globe. The visualization uses D3’s `geoOrthographic`, `geoPath`, and `contourDensity` APIs to generate smoothed density bands from tract centroid points weighted by population and land area, colored with a sequential orange scale. Census tract boundaries appear as thin black outlines, while drag and zoom interactions rotate and scale the projection in real time via `d3.drag` and `d3.zoom`. Data comes from the 2023 Census shapefiles and ACS demographics, loaded via `d3.json` and processed with `topojson-client`.
AI-generated descriptionData for New York census tracts, downloaded from https://www.census.gov/cgi-bin/geo/shapefiles/index.php?year=2023&layergroup=Census+Tracts and processed using https://mapshaper.org/.
Data resides in Gist: New York City Census Tracts.
See also: