🌍 Public
Viewing a saved revision (read-only)
fc602a36ded642b8a55ec0250bbe1c79
Let's make a map with D3.js!
This example demonstrates how to create a map using D3.js, displaying country boundaries over a blue sphere. The visualization uses a Natural Earth projection via `d3.geoNaturalEarth1` and renders geographic paths as SVG elements with the `d3.geoPath` generator. Country data is fetched from the world-atlas TopoJSON dataset and converted using the `topojson.feature` API. The map is styled with CSS, filling countries in light green and the sphere in blue, with a basic interactive-free presentation.
AI-generated description