Making a map
✓ Published1🌍 Public
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 descriptionMIT Licensed