Skip to main content
100%

Choropleth Map with Interactive Filtering

✓ Published0🌍 Public
HHeechan lee
Last edited May 20, 2020
Created on May 20, 2020

This choropleth map displays global economic classifications by country, with an interactive legend that filters highlighted regions. Hovering over a color legend item dims all non-matching countries to 10% opacity, while the selected category remains fully visible and gains a thicker stroke. Clicking the same legend item again clears the filter. The visualization uses d3.geoNaturalEarth1 and d3.geoPath for map projection, d3.zoom for pan and zoom, and scaleOrdinal with schemeSpectral for color encoding. Data comes from the World Atlas TopoJSON dataset, with country names and economy values loaded from TSV metadata.

AI-generated description

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

MIT Licensed

Similar vizzes