🌍 Public
Viewing a saved revision (read-only)
79a0b1080e9947ca9acc210163aa87c7
world map
This example displays a world map using a natural Earth projection. It renders the globe’s sphere and country boundaries as SVG paths, with countries highlighted in yellow on hover. The visualization uses D3’s `geoPath` and `geoNaturalEarth1` projection, alongside the `topojson` library’s `feature` function to process GeoJSON data from the `world-atlas` package. The map is drawn with SVG elements, with the sphere filled in blue and countries in light gray.
AI-generated description