Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

Viewing a saved revision (read-only)

9f171a741a5f4f499b9f19d6e3039fdd

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

0 stars0🌍 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