Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Colored Histogram with Brushing

Public visualization

Viewing a saved revision (read-only)

166ad59ac1a8408aa93dc96fff7f2dc5

Colored Histogram with Brushing

0 stars0🌍 Public
CCurran Kelleher
Last edited Aug 14, 2024
Created on Aug 14, 2024
Forked from Colored Histogram

This example shows the distribution of unemployment rates across U.S. counties in August 2016, using a colored histogram with interactive brushing. The bars are colored with an inferno scale, and brushing a range highlights the selected bins while dimming the rest. The visualization uses `d3.bin` to create 40 bins, `d3.scaleLinear` for axes, and `d3.brushX` to capture user selections, which update a state-driven brushed interval. Data comes from the Bureau of Labor Statistics.

AI-generated description

An example of a histogram using D3. Shows unemployment rate by U.S. county, August 2016. Data: Bureau of Labor Statistics.

See also:

MIT Licensed