Skip to main content
100%

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

✓ Published0🌍 Public
Rrajeshathakur
Last edited Apr 17, 2021
Created on Apr 17, 2021

This example displays a natural Earth projection of the world, with countries rendered as green SVG paths and oceans as a blue sphere. It uses D3 v5’s `geoNaturalEarth1` and `geoPath` to generate the projection, while TopoJSON’s `feature` extracts country boundaries from the world-atlas 110m dataset. The code loads geographic data asynchronously via `json`, then appends each country path to the SVG canvas.

AI-generated description
MIT Licensed

Similar vizzes