Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map with Interactive Filtering

Public visualization

Choropleth Map with Interactive Filtering

0 stars0🌍 Public
Mmi-desai
Last edited Nov 2, 2019
Created on Nov 2, 2019

This choropleth map colors countries by economic classification using a spectral color scale. Users can click on legend items to filter the map, which dims non-matching countries and highlights the selected category. The visualization uses d3.geoPath with a geoNaturalEarth1 projection to render world map features from a 50m TopoJSON dataset, while the color legend (built with d3.scaleOrdinal and schemeSpectral) supports interactive click-based filtering. Hovering over a country displays its name and economic value via SVG title elements.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed