Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map

Public visualization

Viewing a saved revision (read-only)

74407b61757f410f9c734c52882f3d26

Choropleth Map

0 stars0🌍 Public
JJoachim Klug
Last edited Oct 20, 2020
Created on Oct 20, 2020
Forked from Choropleth Map

A choropleth map colors countries according to their economy, using a categorical color scale and an interactive legend to filter by income group. Built with D3 v5, it projects geographic data from the world-atlas topojson using `geoNaturalEarth1` and renders each country as an SVG path via `geoPath`. The legend, generated through a separate module, allows clicking to highlight or dim countries by color value, while a zoom interaction adjusts the projection transform.

AI-generated description