Skip to main content
100%

Interactive Filtering on a Choropleth Map

✓ Published0🌍 Public
Ooptimizeresume
Last edited Jan 17, 2021
Created on Jan 15, 2021
Forked from Choropleth Map

A choropleth map of global economies uses color to represent each country’s economic group, with a clickable color legend enabling interactive filtering by dimming non-selected categories. Users can zoom and pan the geoNaturalEarth1 projection via d3.zoom, while d3.geoPath renders country boundaries from TopoJSON data enriched with World Atlas TSV attributes. The legend updates opacity through D3’s data-join and event handling, using schemeSpectral for the color scale.

AI-generated description
MIT Licensed

Similar vizzes