Skip to main content
100%

Choropleth map with interactive filtering

✓ Published2🌍 Public
PPeter S
Last edited Jun 30, 2020
Created on Aug 26, 2019
Forked from Choropleth map

A choropleth map of world countries colored by income group, with interactive filtering through a color legend. Clicking a legend category highlights matching countries and dims others; clicking again clears the filter. The map uses a natural Earth projection via `d3.geoNaturalEarth1` and `d3.geoPath`, with zoom controls from `d3.zoom`. It loads TopoJSON country boundaries from the world-atlas dataset, merges names from a TSV file, and renders in SVG with `d3.scaleOrdinal` and `schemeSpectral`.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes