🌍 Public
Viewing a saved revision (read-only)
042b37b91a60425ea23d446676c123bc
Let's make a map with D3.js!
This example displays a world map with countries rendered as light green paths on a blue spherical background. Using D3.js and the topojson library, the code fetches geographic data from the `world-atlas` package and applies a `geoNaturalEarth1` projection with `geoPath` to draw the map. The SVG output includes a distinct sphere class and country boundaries with subtle stroke opacity.
AI-generated description