Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Census Tracts Contours with City Labels

Public visualization

Census Tracts Contours with City Labels

0 stars0🌍 Public
CCurran Kelleher
Last edited May 14, 2024
Created on May 14, 2024

This interactive visualization displays demographic data across New York City census tracts using colored contour layers, with orange representing the Black population and green representing the white population, overlaid with city labels. The code builds a spatial index with RBush, samples data points through turf.booleanPointInPolygon, and uses d3.contours with blur2 smoothing to generate the density regions. Orthographic projection, panning, and zooming are implemented via d3.geoPath, drag, and zoom behaviors. Census tract boundaries and demographic data come from processed government shapefiles and ACS datasets.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed