🌍 Public
Viewing a saved revision (read-only)
7fb77b87929944109ec6f9bc0b2d427a
22_Choropleth Map
This choropleth map colors countries by income group using a sequential spectral color scale, with hover highlighting and zoom/pan via d3.zoom. It loads World Atlas TopoJSON and TSV data through d3.json and d3.tsv, then renders geographic paths with d3.geoPath and a natural Earth projection. A custom color legend built with SVG circles and text appears on the left, and tooltips show country names and values.
AI-generated description