🌍 Public
Viewing a saved revision (read-only)
e2064b3256dc4835a7812eed1971a6ae
Choropleth Map with Interactive Filtering
This choropleth map colors world countries by their economy type, with a color legend that supports interactive filtering. Clicking a legend category highlights matching countries and dims all others, while a zoomable natural Earth projection enables pan and scale exploration. Built with React and D3 v5, it uses `geoNaturalEarth1` and `geoPath` for map rendering, `scaleOrdinal` with `schemeSpectral` for color mapping, and `zoom` for interaction. Country data is loaded from the World Atlas TopoJSON and TSV files.
AI-generated descriptionReact Starter code.