🌍 Public
Viewing a saved revision (read-only)
7eaa01b4ed9b4aa1a25cf7cb34257923
Making a map
This example shows a world map rendered as an SVG, with countries filled in light green against a dark blue spherical background. It uses the D3.js library along with the topojson package to fetch and process geographical data from the `world-atlas` dataset, converting TopoJSON features into map paths. The `geoPath` and `geoNaturalEarth1` projection APIs generate the map, while the `sphere` class draws the ocean.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.