🌍 Public
Viewing a saved revision (read-only)
72cf0550dd5e47d6ae35d4c821f0dd50
Fork of Let's make a map with D3.js!
This example displays a world map with countries filled in light green against a blue sphere, rendered as SVG using D3.js v5 and TopoJSON. It uses `d3.geoNaturalEarth1` for projection and `d3.geoPath` to draw country boundaries from the world-atlas dataset. The sphere is drawn as a single path, and country features are generated with TopoJSON’s `feature` method before being appended to the SVG.
AI-generated description