Skip to main content
100%

World Map

✓ Published0🌍 Public
Ddev-snip
Last edited Aug 28, 2019
Created on Aug 28, 2019

This example displays a world map with light green countries set against a blue ocean sphere, using a natural Earth projection. It renders the globe as an SVG path and then loads country boundaries from a TopoJSON dataset via the world-atlas package. The visualization uses d3.geoPath with d3.geoNaturalEarth1 to project geographic coordinates, and applies the topojson.feature method to extract country geometries. The sphere is drawn first as a full-world path, followed by individual country paths with subtle black strokes.

AI-generated description

World map

MIT Licensed

Similar vizzes