Skip to main content
100%

Fork of Let's make a map with D3.js!

✓ Published0🌍 Public
Ppei9223
Last edited Sep 16, 2022
Created on Sep 16, 2022

This example displays a natural Earth projection map with countries rendered as light green shapes against a blue ocean sphere. It uses D3 v5 and TopoJSON to load world-atlas data from unpkg, then applies `geoNaturalEarth1` for the projection and `geoPath` to generate SVG paths for each country feature. The sphere outline and country boundaries are drawn as SVG elements, with styling defined in CSS.

AI-generated description
MIT Licensed

Similar vizzes