🌍 Public
Viewing a saved revision (read-only)
166ad59ac1a8408aa93dc96fff7f2dc5
Colored Histogram with Brushing
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 descriptionAn example of a histogram using D3. Shows unemployment rate by U.S. county, August 2016. Data: Bureau of Labor Statistics.
See also:
MIT Licensed