Viewing a saved revision (read-only)
d27ee4962b564059927e0fd57ab6cf98
Edmonton2019FederalPolling
This visualization maps racial demographics across New York census tracts, blending white, Black, and Asian population counts into a single composite color per tract. Each race’s count is encoded using a square-root scale, with three HCL colors of equal saturation and luminance, then multiplicatively blended to produce the final fill. The map renders as SVG using `d3.geoPath` and TopoJSON, with a shoreline clip-path, hover highlighting, and zoom via `d3.zoom`. Data comes from the American Community Survey API, with a color legend generated by the custom `colorLegend` function.
AI-generated descriptionA way to visualize multidimensional racial demographic data for census tracts. This uses a square root scale instead of a linear scale, and uses 3 colors that are all the same saturation and luminance (in the HCL color space).
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.
Color legend from VizHub: Color and Size Legends.