Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive Filtering on a Choropleth Map

Public visualization

Interactive Filtering on a Choropleth Map

0 stars1🌍 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)

Comments

Sign in to join the discussion.

MIT Licensed