🌍 Public
Viewing a saved revision (read-only)
e4b81a0aadd342bd8909622d45a6a33a
Let's make a map with D3.js!
This example shows a natural Earth projection of the world, rendered as a blue sphere with no country boundaries loaded yet. The visualization uses D3 v5’s `geoNaturalEarth1` projection and `geoPath` to draw the sphere outline, while `topojson.feature` is called on an external GeoJSON file fetched via `d3.json`. The SVG canvas is 960 by 500 pixels, with the sphere filled in blue and CSS classes prepared for future country styling. The code’s console logs the fetched data but does not yet display it on the map.
AI-generated description