Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Chorpleth Map

Public visualization

Viewing a saved revision (read-only)

d7e86e97946445f9819ac50dbd383e4b

Chorpleth Map

0 stars1🌍 Public
MMinwoo Pak
Last edited Aug 10, 2021
Created on Nov 21, 2019

This choropleth map colors countries by income group using an ordinal color scale with a spectral scheme. The visualization loads world geometry from TopoJSON and joins it with TSV metadata, then renders the map with a natural Earth projection via d3.geoPath. Users can pan and zoom through d3.zoom, while a custom color legend built with SVG circles and text shows the categorical mapping. Hovering over a country highlights it in red and reveals its name and income group in a tooltip.

AI-generated description