Skip to main content
100%

Make a Map with D3

✓ Published1🌍 Public
Bbprokopowicz
Last edited Mar 30, 2020
Created on Mar 30, 2020
Forked from SVG Smiley Face

This example shows global country boundaries using D3’s geoNaturalEarth1 projection, with a dark blue sphere background and green landmasses. It loads world-atlas TopoJSON data, converts it to GeoJSON via topojson.feature, and renders the paths with d3.geoPath and d3.select. The visualization includes commented alternatives for geoMercator, geoOrthographic, geoStereographic, and geoEquirectangular projections, demonstrating how the same code adapts to different map projections.

AI-generated description

D3 course follow along.

MIT Licensed

Similar vizzes