🌍 Public
Viewing a saved revision (read-only)
91e1e19d554f40e1aef00bf15a825314
Let's make a map with D3.js!
This example shows a world map rendered with a Natural Earth projection, displaying country boundaries as light green polygons against a blue sphere. The visualization uses D3.js v5 and TopoJSON to load and convert world-atlas geodata, with `d3.geoNaturalEarth1` and `d3.geoPath` generating the SVG paths. It draws the sphere background and country outlines via appended `<path>` elements, relying on the `feature` method to extract country shapes from TopoJSON.
AI-generated description