World Map
✓ Published0🌍 Public
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 descriptionMIT Licensed