Skip to main content
100%

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

✓ Published0🌍 Public
Bbluelionz7
Last edited Aug 18, 2021
Created on Aug 18, 2021

This fork displays a world map in an SVG, coloring landmasses light green against a blue sphere. It uses D3 v5 with `d3.geoNaturalEarth1` for the projection and `d3.geoPath` to render country boundaries from TopoJSON data loaded via the `world-atlas` package. The code appends the sphere path first, then fetches country features and draws them as separate paths with a subtle black stroke.

AI-generated description
MIT Licensed

Similar vizzes