Skip to main content
100%

Choropleth Map

✓ Published1🌍 Public
Ccpsshan
Last edited Jul 16, 2019
Created on Jul 16, 2019
Forked from Choropleth Map

This example displays a world map as a choropleth, with each country colored by its income group using an ordinal color scale and a custom SVG legend. D3’s `geoNaturalEarth1` projection and `geoPath` render geographic boundaries from a TopoJSON source, while data from a TSV file is joined by country ID. Hovering a country turns it red and shows its name and income group in a tooltip, and pan/zoom interaction is enabled via a custom zoom event.

AI-generated description
MIT Licensed

Similar vizzes