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)

4dbd79ef3adf4328bd170c4d47d4e9f4

Choropleth Map with Interactive Filtering

0 stars0🌍 Public
TThomas Seberechts
Last edited Jun 8, 2020
Created on Jun 8, 2020

A choropleth map colors countries by economic classification using a D3 ordinal color scale, then allows interactive filtering through hover-adjacent clicks on the legend. The map renders with SVG and a natural Earth projection via `d3.geoPath`, while the legend items toggle opacity and highlight matching countries. Users can zoom and pan using `d3.zoom`, and the map loads world geometry from TopoJSON with economy data from a TSV file.

AI-generated description

A choropleth map where you can hover over items in the color legend items to interactively filter!