Colored Histogram with Brushing
✓ Published0🌍 Public
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 with brushing. Shows unemployment rate by U.S. county, August 2016. Data: Bureau of Labor Statistics.
See also:
MIT Licensed