Skip to main content
100%

Fork of Choropleth Map with Interactive Filtering

✓ Published0🌍 Public
Aabasilet@purdue.edu
Last edited Apr 24, 2024
Created on Apr 24, 2024

A choropleth map shows global economies color-coded by category, with a legend that users can click to filter which countries remain highlighted. Hovering over legend items dims non-matching regions, while clicking toggles a specific category or clears the filter. Using d3.geoPath and d3.geoNaturalEarth1 for projection, the map loads world-50m TopoJSON data from World Atlas. The legend and map updates rely on d3.scaleOrdinal, d3.schemeSpectral, and d3.zoom for panning and zooming.

AI-generated description

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

MIT Licensed

Similar vizzes