Skip to main content
100%

Choropleth Map

✓ Published0🌍 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
MIT Licensed

Similar vizzes