Skip to main content
100%

Interactive Filtering on a Choropleth Map

✓ Published1🌍 Public
JJordan Chiu
Last edited Feb 2, 2020
Created on Feb 2, 2020
Forked from Choropleth Map

This interactive choropleth map displays world countries colored by income group from World Atlas TopoJSON data. Users click legend ticks to filter countries, highlighting selected income categories while dimming others. The map uses d3.geoNaturalEarth1 projection with d3.geoPath for rendering and d3.zoom for pan/zoom controls. A color legend built with d3.scaleOrdinal and schemeSpectral responds to clicks, toggling opacity and stroke width on matching countries.

AI-generated description

Interactive filtering on a Choropleth Map with colour legend (Quiz 5)

MIT Licensed

Similar vizzes