Choropleth Map with Interactive Filtering
✓ Published1🌍 Public
Llystran
Last edited Apr 23, 2020
Created on Apr 23, 2020
Forked from Choropleth Map with Interactive Filtering
This choropleth map displays world countries colored by economic classification, with an interactive color legend that filters which countries remain highlighted. Clicking a legend item dims all countries not in that category, while clicking the same item again clears the filter. The visualization uses d3.geoNaturalEarth1 for projection, d3.geoPath for rendering SVG paths, d3.scaleOrdinal with a spectral scheme for coloring, and d3.zoom for pan and zoom. Data comes from the world-atlas TopoJSON and TSV datasets, loaded via 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