Version 1
✓ Published0🌍 Public
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 descriptionMIT Licensed