Skip to main content
100%

World Map

✓ Published0🌍 Public
Mmandadi1999
Last edited Jul 23, 2023
Created on Jul 22, 2023
Forked from D3 Starter

This example displays a world map using a natural Earth projection, rendered as an SVG with D3 version 5 and TopoJSON. It highlights country boundaries with pink fills and maroon strokes, overlaid on a green sphere outline that represents the globe. The map is drawn using `d3.geoPath` with `geoNaturalEarth1` projection, while country geometries are loaded from a remote TopoJSON file and converted via the `feature` method from TopoJSON. The data source is a gist containing country coordinates.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes