Viewing a saved revision (read-only)
673efd421e8a4b9fa0e19b39302ce775
Grid Sampling on Census Tracts - Contours from Sampling
This interactive map displays the distribution of the Black population across New York City census tracts. It creates and renders contour polygons derived from a grid-sampled raster of demographic data, which is then blurred and thresholded using D3’s `contours` and `blur2` APIs. The contours are converted to GeoJSON via Turf, while the base layer uses `geoOrthographic` and `geoPath`. County data comes from the 2023 Census Tracts shapefile, enriched with ACS demographic estimates.
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:
- VizHub: Multivariate Choropleth Live Coded at Outlier
- Gist by Mourner: Quick example of generating GeoJSON contours from raster with d3 - reference example for creating GeoJSON from contours
- Gist: GeoJSON Contours Test