Skip to main content
100%

Fork of Choropleth with Histogram Brushing

✓ Published0🌍 Public
Oomniaabouhassan@gmail.com
Last edited Dec 4, 2024
Created on Nov 21, 2024

This fork of the D3 Choropleth example visualizes U.S. county unemployment rates from August 2016, with a brushable histogram below the map that filters highlighted counties. Brushing the histogram dims counties outside the selected rate range using a quantile color scale interpolated with d3.interpolateInferno. The map uses d3.geoPath with geoAlbersUsaTerritories projection and topojson-client for county boundaries. The implementation leverages d3-rosetta’s memoization helpers and d3.brushX for interactive filtering, with zoom support via d3.zoom.

AI-generated description

An adaptation of the D3 Choropleth Example that uses vanilla JavaScript and adds a brushable histogram. Shows Unemployment rate by U.S. county, August 2016. Modified to add zooming, leveraging utilities from d3-rosetta.

MIT Licensed

Similar vizzes