Skip to main content
100%

Let's make a map with D3.js!

✓ Published0🌍 Public
CChip
Last edited Feb 25, 2020
Created on Feb 25, 2020

This example creates a world map rendered as SVG using D3 v5 and TopoJSON. It loads world country boundaries from the World Atlas TopoJSON dataset, projects them with the `geoNaturalEarth1` projection, and draws each country as a filled path using `d3.geoPath`. A blue sphere background is added first, with countries shown in light green and outlined with subtle black strokes. The map displays the entire globe with country shapes accurately projected.

AI-generated description
MIT Licensed

Similar vizzes