Choropleth Map with Interactive Filtering
✓ Published0🌍 Public
RRoger Yu-Hsiang Lo
Last edited Feb 25, 2020
Created on Feb 25, 2020
Forked from Choropleth Map with Interactive Filtering
This choropleth map visualizes world countries colored by economic group, with interactive filtering that lets users click a country to dim all others and highlight the selected one. The map supports pan and zoom through d3’s zoom event, while the color legend on the left also allows filtering by clicking a specific income category. The visualization uses d3.geoPath with the geoNaturalEarth1 projection to render countries from TopoJSON data, and d3.scaleOrdinal with the schemeSpectral color scale to encode the economic classifications.
AI-generated descriptionMIT Licensed