Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map with Topojson data

Public visualization

World Map with Topojson data

0 stars5🌍 Public
KKrishnaPriyaKurra
Last edited Apr 3, 2022
Created on Mar 30, 2022

This example shows a world map rendered as a set of countries, with a pink sphere background and green-stroked yellow country shapes, using SVG output. It loads TopoJSON world data from a GitHub gist and converts it to GeoJSON features via the `feature` method from `topojson`. The map uses a `geoMercator` projection and `geoPath` from D3 v5 to generate the SVG paths, while `select` and `json` handle DOM selection and asynchronous data loading.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed