Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map with Interactive Filtering

Public visualization

Viewing a saved revision (read-only)

c3aa0116fd934f8aadbcb99f7734663e

Choropleth Map with Interactive Filtering

1 star2🌍 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.