🌍 Public
Viewing a saved revision (read-only)
3668b6476e0744a78392291d0c21c8fe
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