🌍 Public
Viewing a saved revision (read-only)
2db4c27180b54ed3b0dbbd3004fff863
Map of the World
This example visualizes the world using a Natural Earth projection, displaying landmasses, country borders, a graticule, and the spherical outline of the globe. The map renders as SVG, with land filled in yellow and interiors drawn as gray mesh lines. It loads geographic data from the World Atlas TopoJSON via `d3.json` and converts it into GeoJSON features using `topojson.feature` and `topojson.mesh`. The visual marks are generated with `d3.geoNaturalEarth1` and `d3.geoPath`, while React manages the component structure.
AI-generated description