🌍 Public
Viewing a saved revision (read-only)
0b844019b35c4ac0878e8a1b7e2f8cf9
Let's make a map with D3.js!
This example shows a world map rendered as a natural Earth projection, with each country filled in light green and the ocean as a blue sphere. The visualization uses D3 v5’s data-join to bind GeoJSON country features derived from the TopoJSON World Atlas dataset via `topojson.feature`. A `d3.geoNaturalEarth1` projection and `d3.geoPath` generator draw the SVG paths, while a separate path outlines the full sphere background. The map is static, with no interaction or animation.
AI-generated description