Skip to main content
100%

Fork of World Map

✓ Published0🌍 Public
Ppemmasaniprudhvinadh
Last edited Apr 13, 2023
Created on Apr 13, 2023
Forked from World Map

This example renders a natural Earth projection world map using D3 v5 and TopoJSON. It displays countries as green landmasses with black strokes against a blue spherical backdrop. The code fetches world boundary data from the world-atlas package, converts TopoJSON to GeoJSON with topojson.feature, and visualizes it using d3.geoNaturalEarth1, d3.geoPath, and SVG paths. A pre-defined sphere path establishes the globe’s outline before country features are appended.

AI-generated description
MIT Licensed

Similar vizzes