🌍 Public
Viewing a saved revision (read-only)
8158dbc9c578416a939313ea244cdfdf
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