Skip to main content
100%

Choropleth Map with interactive filtering

✓ Published2🌍 Public
NNkwachi Abel
Last edited Jun 3, 2022
Created on Jun 3, 2022
Forked from Choropleth Map

A choropleth map colors countries by economic classification, with a categorical color legend that doubles as a filter. Clicking a legend category dims non-matching countries and highlights the selected class, while zoom and pan are enabled via d3.zoom. The map uses d3.geoPath with a Natural Earth projection, rendering TopoJSON data from the World Atlas, and d3.scaleOrdinal with schemeSpectral assigns colors. Hover styling also highlights individual countries.

AI-generated description
MIT Licensed

Similar vizzes