Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth map - Modular

Public visualization

Viewing a saved revision (read-only)

7487cd22d7c6464a864c8d3dcd308840

Choropleth map - Modular

0 stars1🌍 Public
JJames Malvern
Last edited Mar 31, 2021
Created on Mar 31, 2021
Forked from Choropleth map

A choropleth map colors world countries by income group, with a categorical color legend and zoom/pan support. Built with D3 v5, it uses `d3.geoNaturalEarth1` and `d3.geoPath` to project TopoJSON world data from the world-atlas package, while `d3.scaleOrdinal` assigns spectral colors. Interactive hovering highlights country borders, and the legend is rendered as an SVG component.

AI-generated description