🌍 Public
Viewing a saved revision (read-only)
d265319449c24814ab299db9b3e75d22
World Map
This example displays a world map using a natural Earth projection, rendered as an SVG with D3 version 5 and TopoJSON. It highlights country boundaries with pink fills and maroon strokes, overlaid on a green sphere outline that represents the globe. The map is drawn using `d3.geoPath` with `geoNaturalEarth1` projection, while country geometries are loaded from a remote TopoJSON file and converted via the `feature` method from TopoJSON. The data source is a gist containing country coordinates.
AI-generated descriptionA demonstration of how to start using D3 version 6.