Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map

Public visualization

World Map

0 stars1🌍 Public
Rreddyakshitha
Last edited Apr 4, 2022
Created on Apr 2, 2022
Forked from HTML Starter

This world map visualization renders country boundaries as green SVG paths on a blue background using the Natural Earth projection. The code fetches TopoJSON data from the world-atlas package and converts it to GeoJSON using `feature` from TopoJSON, then applies `geoNaturalEarth1` and `geoPath` from D3 v5 to generate the geographic shapes. The static map displays all countries without interactive features, relying on D3’s JSON loading and SVG selection methods to append each country path.

AI-generated description

world map

Comments

Sign in to join the discussion.

MIT Licensed