Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Course Code Along - Choropleth Map

Public visualization

Viewing a saved revision (read-only)

2b63cd39ad654216a9d36a0ca65682e8

Fork of D3 Course Code Along - Choropleth Map

0 stars0🌍 Public
DDIANJING FAN
Last edited Dec 13, 2022
Created on Dec 13, 2022

A world choropleth map colors each country by its income group, using a sequential red color scale derived from World Bank data. The visualization renders with D3 v7 and the `geoNaturalEarth1` projection, building paths via `geoPath` and TopoJSON country geometries. A custom color legend animates its circles with a `transition` to reflect scale changes, while a zoom behavior lets users pan and scale the map. Country names appear as tooltips on hover, drawn from the accompanying TSV metadata.

AI-generated description