Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

world map for Topojson data

Public visualization

world map for Topojson data

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed