🌍 Public
Viewing a saved revision (read-only)
b5d59533266c4deea2bdb3ba57a266a7
Basic Map
This example displays a basic world map rendered as SVG paths. It uses the `d3.geoMercator` projection and `d3.geoPath` to convert geographic coordinates into screen paths. The map draws country boundaries from the world-atlas TopoJSON dataset, which is loaded via `json()`. The code applies the `feature()` method from topojson to extract country geometries, then appends one SVG `path` element per country. The resulting visualization shows a simple, unadorned map without interactive features or styling.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.