Skip to main content
100%

World Map

✓ Published0🌍 Public
Cchandrakalavanukuri
Last edited Apr 5, 2022
Created on Apr 5, 2022
Forked from World Map

This example displays a world map with countries rendered in light green and outlined in orange, set against a black spherical backdrop. It uses a natural Earth projection via `d3.geoNaturalEarth1` and `d3.geoPath` to convert geographic coordinates into SVG paths. Country boundaries are drawn from the TopoJSON `world-atlas` dataset fetched from unpkg, with `topojson.feature` parsing the country geometries before data joining appends each path to the SVG. The sphere outline is generated using a path generator on a sphere type geometry.

AI-generated description
MIT Licensed

Similar vizzes