Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map with Interactive filtering

Public visualization

Viewing a saved revision (read-only)

3c3859fe68e44a19b4d689e9ae8a2d6e

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