🌍 Public
Viewing a saved revision (read-only)
5f0dee25941e4ef494176f864e342afd
Let's Make a map
This example displays a world map using a natural Earth projection, with countries filled in light green against a blue spherical backdrop. It loads geographic data as TopoJSON from the world-atlas package and converts it to GeoJSON features using topojson’s `feature` method. The map is rendered as SVG paths via `d3.geoPath` and `d3.geoNaturalEarth1`, with styling applied through CSS classes for the sphere and country boundaries.
AI-generated descriptionA demonstration of basic HTML and CSS.