Skip to main content
100%

World Map

✓ Published0🌍 Public
Rrushithareddyy
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from USA Country Map

This example renders a world map using a natural Earth projection, displaying countries as violet landmasses with white borders against a light yellow sphere. It uses D3 v5’s `geoNaturalEarth1` projection and `geoPath` to draw the spherical outline and country boundaries from TopoJSON data loaded from the world-atlas package. The map is rendered as SVG paths, with the TopoJSON converted to GeoJSON via the `feature` method from topojson.

AI-generated description
MIT Licensed

Similar vizzes