🌍 Public
Viewing a saved revision (read-only)
182b7bfa5bbb4b8ea016c6972ac4c47e
Choropleth Map with Interactive Filtering
SShabani Muswamba
Last edited Apr 24, 2020
Created on Apr 23, 2020
Forked from Choropleth Map with Interactive Filtering
A choropleth map colors countries by economic classification using an ordinal color scale. Clicking a legend entry filters the map, dimming non-matching countries while highlighting the selected category. The visualization uses d3.geoNaturalEarth1, d3.geoPath, and d3.zoom for pan and zoom, with d3.scaleOrdinal and schemeSpectral for coloring. Data comes from the World Atlas TopoJSON and TSV files loaded via d3.json and d3.tsv, rendered as SVG with clickable legend ticks.
AI-generated description