Skip to main content
100%

New York Census Tracts Demographics: Black, Log scale

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

This example visualizes the racial demographics of New York census tracts, focusing on the Black population using a sequential log color scale that maps darker oranges to higher counts. It renders an SVG map of tracts using d3.geoPath and topojson, with geographic data from a local GeoJSON file and demographic data fetched live from the American Community Survey API. The map supports zooming and panning through d3.zoom, and tract details are printed to the console on mouse hover.

AI-generated description

An intermediate state on the way towards trying to visualize multidimensional data for census tracts. The more orange it is, the more black people there are.

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