Skip to main content
100%

world map for Topojson data

✓ Published0🌍 Public
SSheshidharreddy
Last edited Apr 4, 2022
Created on Apr 4, 2022
Forked from ICE8 - World Map

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
MIT Licensed

Similar vizzes