🌍 Public
Viewing a saved revision (read-only)
f8d7f97062614852a5a6ae53d8f48849
lets make a map!
This example displays a world map using a natural Earth projection, with countries filled in green that turn red on hover. It renders the map as SVG paths generated by `d3.geoPath` and `geoNaturalEarth1`, loading geographic data from the world-atlas TopoJSON file. The code uses `topojson.feature` to convert the TopoJSON into GeoJSON features, and appends a sphere outline for visual context.
AI-generated description