Skip to main content
100%

Choropleth Map with Interactive Filtering

✓ Published2🌍 Public
Lloicvdk
Last edited Aug 19, 2020
Created on Aug 2, 2020
Forked from Choropleth Map

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 description

React Starter code.

MIT Licensed

Similar vizzes