🌍 Public
Viewing a saved revision (read-only)
029e04acb17b474491af46ab4815db95
World Map
This example renders a world map using a natural Earth projection, displaying countries as violet landmasses with white borders against a light yellow sphere. It uses D3 v5’s `geoNaturalEarth1` projection and `geoPath` to draw the spherical outline and country boundaries from TopoJSON data loaded from the world-atlas package. The map is rendered as SVG paths, with the TopoJSON converted to GeoJSON via the `feature` method from topojson.
AI-generated description