world map for Topojson data
✓ Published0🌍 Public
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 descriptionMIT Licensed