Skip to main content
100%

World Map with Topojson data

✓ Published5🌍 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
MIT Licensed

Similar vizzes