🌍 Public
Viewing a saved revision (read-only)
e99d8bfcd20d460abc0952b81021cb0a
Let's make a map with D3.js!
This example displays an orthographic map of the world, rendered as a blue sphere with grey country outlines. It uses D3’s `geoOrthographic` projection and `geoPath` to draw the sphere and country boundaries, pulling geographic data from the `world-atlas` TopoJSON dataset via `topojson.feature`. The SVG output includes a styled sphere fill and country paths, with interactive rotation not implemented in the shown code.
AI-generated description