Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map

Public visualization

Viewing a saved revision (read-only)

d265319449c24814ab299db9b3e75d22

World Map

0 stars0🌍 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.