Choropleth Map with Interactive Filtering
✓ Published0🌍 Public
CChenluWang96
Last edited Mar 10, 2020
Created on Mar 10, 2020
Forked from Choropleth Map with Interactive Filtering
This choropleth map displays countries colored by economic classification, with an interactive color legend allowing users to click a category and filter the map to highlight only matching countries while dimming others. Hovering reveals country names via tooltips, and the map supports zoom and pan. Built with D3 v5, it uses d3.geoPath and d3.geoNaturalEarth1 for projection, d3.scaleOrdinal with schemeSpectral for coloring, and d3.zoom for interaction. Data comes from TopoJSON world-atlas 50m, joined with TSV metadata storing economy type per country.
AI-generated descriptionA choropleth map where you can hover over items in the color legend items to interactively filter!
MIT Licensed