Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map

Public visualization

Viewing a saved revision (read-only)

2eb4263f9c9b41878d2db28dfb019b84

Choropleth Map

0 stars2🌍 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.