🌍 Public
Viewing a saved revision (read-only)
a2e516a1948a467a8417ae672ec87e8c
Let's make a map with D3.js!
This example displays a natural Earth projection map of the world, rendered as a single blue sphere with country boundaries drawn in light green. The visualization first appends a sphere path using `d3.geoPath` with a `d3.geoNaturalEarth1` projection, then loads GeoJSON data from a remote URL via `d3.json` and converts it to GeoJSON features using `topojson.feature`. The map is rendered as SVG within an HTML page, with styling for the sphere and country fills defined in an external stylesheet.
AI-generated description