Choropleth Map with Interactive Filtering
✓ Published0🌍 Public
BBrandon Lehr
Last edited Aug 28, 2019
Created on Aug 23, 2019
Forked from Choropleth Map with Interactive Filtering
A choropleth map displays global income groups, coloring each country through a categorical `scaleOrdinal` with the `schemeSpectral` range. Users click legend items to filter the map, highlighting matching countries while dimming others and the sphere backdrop. The map renders via `geoNaturalEarth1`, `geoPath`, and `zoom` interactions, while the legend uses click handlers and opacity toggling. Data comes from TopoJSON world-atlas and TSV files loaded through `d3.json` and `d3.tsv`.
AI-generated descriptionA choropleth map where you can hover over items in the color legend items to interactively filter!
MIT Licensed