Skip to main content
100%

Choropleth Map with Interactive Filtering

✓ Published0🌍 Public
Fftjyangf
Last edited Jun 1, 2020
Created on May 31, 2020

This choropleth map displays global economic classifications with an interactive legend that filters countries by color value. Clicking a legend item isolates the corresponding economy type, dimming non-matching countries to 10% opacity, while hovering over legend entries updates their clarity. The visualization uses `d3.geoNaturalEarth1` and `d3.geoPath` for map projection, `d3.zoom` for panning and zooming, and `d3.scaleOrdinal` with `d3.schemeSpectral` for color encoding. World geometry comes from TopoJSON data loaded via `d3.json`, with country names and economy attributes merged from TSV data.

AI-generated description

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

MIT Licensed

Similar vizzes