🌍 Public
Viewing a saved revision (read-only)
9f1571ff701146138a00222cfef3c68b
Lets make a Map
This example shows a world map rendered as an SVG, with countries filled in light green and oceans depicted as a blue sphere. It uses D3’s `geoNaturalEarth1` projection and `geoPath` to generate the map geometry. Geographic data comes from the World Atlas TopoJSON file, loaded via `d3.json` and converted to GeoJSON with `topojson.feature`. The complete React-based visualization is built with D3 v5 and TopoJSON v3, with styling applied through CSS classes.
AI-generated descriptionReact Starter code.