🌍 Public
Viewing a saved revision (read-only)
e1a43074453449e0bf293ab9376c1c72
Let's make a map with D3.js!
This example displays a world map with countries filled in light green against a blue spherical background. It uses D3 v5 and TopoJSON to load world-atlas data and render the map as SVG paths. The code applies a US-centered Albers projection via `d3.geoAlbersUsa`, and draws the globe using `d3.geoPath` with a synthetic sphere feature.
AI-generated description