🌍 Public
Viewing a saved revision (read-only)
0bedac8fbcfe4366937f5adad5dd1567
Making a map
This example shows a natural Earth projection map of the world, with countries rendered as light green filled paths and a blue sphere background. It uses D3 v5’s `geoNaturalEarth1` projection and `geoPath` generator to draw the map from TopoJSON data loaded from the world-atlas dataset, processed via `topojson.feature`. Country and sphere outlines are appended as SVG paths with distinct CSS classes.
AI-generated description