Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Edmonton2019FederalPolling

Public visualization

Viewing a saved revision (read-only)

d5aea10e785741dda391094aae5a6c06

Edmonton2019FederalPolling

0 stars0🌍 Public
RRiley Dawson
Last edited Aug 11, 2021
Created on Aug 11, 2021

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 description

A 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.