🌍 Public
Viewing a saved revision (read-only)
3de4504c175743deb8cc0730dd4f42bf
world map for Topojson data
This example displays a world map rendered as filled green countries on a light blue sphere, using Natural Earth projection. It loads TopoJSON data from a GitHub gist and converts it to GeoJSON with `topojson.feature`. The map is drawn as SVG paths using `d3.geoPath` with `d3.geoNaturalEarth1`, while `d3.json` fetches the remote dataset. Country boundaries appear with subtle black strokes, and the sphere outline is generated from a generic GeoJSON sphere object.
AI-generated description