Skip to main content
100%

Outlier example

✓ Published0🌍 Public
EErik Kemp
Last edited Feb 4, 2021
Created on Feb 4, 2021

This example maps New York Census tracts using color to represent racial demographics, where green opacity indicates white population and orange opacity indicates Black population. The SVG visualization uses D3’s `geoPath` to render tract polygons and `scaleLinear` to map demographic data from the American Community Survey to color opacity values, with blended colors showing combined racial distributions. Interactive hover logging reveals each tract’s underlying demographic properties.

AI-generated description

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

This uses a linear scale that varies in opacity only.

<iframe height="300" width="960" src="https://vizhub.com/curran/e73025c231e445e09cbdfa9f421246e8?mode=snippet&file=index.js#L80-85" title="Opacity Linear Scale" frameborder="0" ></iframe>

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