🌍 Public
Viewing a saved revision (read-only)
16ddc306096144f0b7971fe1f5d188b7
Let's make a map with D3.js!
This example shows a world map rendered with D3.js, displaying country boundaries as light green filled paths against a blue sphere. The visualization uses a natural Earth projection via `d3.geoNaturalEarth1` and `d3.geoPath` to project geographic coordinates onto SVG. Country geometries come from the World Atlas TopoJSON dataset, loaded with `d3.json` and converted using the `feature` method from `topojson`. The map highlights the spherical Earth outline with a separate path styled in CSS, while country strokes appear semi-transparent black.
AI-generated description