🌍 Public
Viewing a saved revision (read-only)
16f225081330403fadcec4e0ae6d1781
World Map
This example displays an interactive world map rendered with SVG, showing landmasses, country borders, graticules, and the Earth’s sphere. It uses a React component to load geographic data from the world-atlas TopoJSON source via `d3.json`, then converts it to GeoJSON with `topojson.feature` and `topojson.mesh`. The map is drawn using `d3.geoEqualEarth`, `d3.geoPath`, and `d3.geoGraticule`, with CSS styling for the land, interior boundaries, and graticule paths.
AI-generated descriptionWorld Map