🌍 Public
Viewing a saved revision (read-only)
f4a05d34fb494ce68cd0d1b5212b30a2
world map
This example renders a world map using SVG paths generated from geographic data. The map visualizes country boundaries from the World Atlas TopoJSON dataset, projected using a natural Earth projection. The code employs D3 v5’s `geoPath` and `geoNaturalEarth1` for path generation and projection, while TopoJSON’s `feature` method converts the TopoJSON topology into GeoJSON features. Each country is drawn as an SVG path, with styling defined through CSS classes for the sphere background and country fills.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.