Skip to main content
100%

Chorpleth Map

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

Similar vizzes