Skip to main content
100%

Choropleth Map

✓ Published2🌍 Public
Ggilbster
Last edited Jan 2, 2020
Created on Jan 2, 2020
Forked from Map Interactions

This choropleth map colors countries by their economy category using a spectral color scale. The visualization loads geographic data from the World Atlas TopoJSON and TSV files, projecting it with `d3.geoNaturalEarth1` and rendering paths via `d3.geoPath`. A zoom behavior allows interactive panning on the SVG, while an animated legend updates through `transition.attr` calls. Hovering highlights individual countries, and the map includes a title tooltip showing each country’s name and economy value.

AI-generated description

Interactive map based of of World Atlas JSON.

MIT Licensed

Similar vizzes