🌍 Public
Viewing a saved revision (read-only)
49e0ae8550e540afb7ede3b76ee1fd40
Version 1
This example displays a world map using a natural Earth projection, with countries rendered as light green SVG paths. The map is built with D3 v5 and TopoJSON, loading geographic data from the world-atlas package (50m resolution) and matching country IDs to names from a TSV file. Hovering is disabled, but clicking a country sets a selected state and triggers a re-render. A zoom behavior enables panning and scaling, while a blue sphere path provides the ocean backdrop.
AI-generated description