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 stars1🌍 Public
PPotikorn
Last edited Feb 20, 2020
Created on Feb 18, 2020
Forked from Choropleth Map

A choropleth map of global economies color-coded by development category, with an interactive legend that filters highlighted countries by clicking category swatches. Built with D3 v5, it combines `d3.geoNaturalEarth1`, `d3.geoPath`, and `d3.zoom` for panning and zooming the SVG-rendered map, while `d3.scaleOrdinal` and `schemeSpectral` assign colors from world-atlas TopoJSON data. Clicking a legend item dims non-matching countries and toggles the selection; tooltips show country names and values via SVG `<title>` elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed