Skip to main content
100%

Broken New York Census Tracts Demographics

✓ Published3🌍 Public
CCurran Kelleher
Last edited Jan 27, 2021
Created on Jan 26, 2021

This example shows New York State census tracts colored by their white population count using a green sequential color scale. The visualization maps demographic data from the 2018 American Community Survey API onto census tract polygons, which are rendered using `d3.geoPath` with a null projection. The code combines `d3.json` and `d3.tsv` for data loading, TopoJSON for feature extraction, and `d3.scaleSequential` with `interpolateGreens` for color encoding. However, the visualization is incomplete, as the code logs console output for hovered tracts but does not display tooltips or a legend, and the color mapping may fail due to mismatched tract IDs between the TopoJSON and ACS data sources.

AI-generated description

A broken state on the way towards trying to visualize data for census tracts.

Data from bl.ocks.org: New York Census Tracts by Mike Bostock.

Fetching of American Community Survey data inspired by Observable: Racial distribution in NC by Mark McClure.

The variables used are documented in the ACS API Reference.

MIT Licensed

Similar vizzes