Skip to main content
100%

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

✓ Published0🌍 Public
TTaylor Segell
Last edited May 6, 2022
Created on May 6, 2022

This map visualizes world countries and oceans using a natural Earth projection. It renders the globe as a blue sphere with light green country polygons stroked in black, created through D3.js version 5 and TopoJSON. The code uses `d3.geoPath` with `d3.geoNaturalEarth1` to project geographic features, loading country boundaries from the world-atlas dataset via `d3.json`. The SVG output displays all nations, with the sphere path drawn first to establish the ocean background.

AI-generated description
MIT Licensed

Similar vizzes