Skip to main content
100%

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

✓ Published1🌍 Public
PPatrickhCahill
Last edited Apr 12, 2022
Created on Apr 12, 2022

This map visualizes the countries of the world on a blue sphere using a natural Earth projection. It renders geographic boundaries with a light green fill, black strokes, and a semi-transparent stroke opacity. The code uses D3 v5’s `geoNaturalEarth1` and `geoPath` to project and draw features, while TopoJSON’s `feature` extracts country polygons from the world-atlas dataset. A static SVG path for the sphere is appended first, followed by dynamically appended country paths.

AI-generated description
MIT Licensed

Similar vizzes