Skip to main content
100%

Choropleth Map with Interactive Filtering

✓ Published0🌍 Public
TThomas Seberechts
Last edited Jun 8, 2020
Created on Jun 8, 2020

A choropleth map colors countries by economic classification using a D3 ordinal color scale, then allows interactive filtering through hover-adjacent clicks on the legend. The map renders with SVG and a natural Earth projection via `d3.geoPath`, while the legend items toggle opacity and highlight matching countries. Users can zoom and pan using `d3.zoom`, and the map loads world geometry from TopoJSON with economy data from a TSV file.

AI-generated description

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

MIT Licensed

Similar vizzes