🌍 Public
Viewing a saved revision (read-only)
c37a69dcdd7f40b682261e62767cbc74
Map
This example displays a world map rendered with SVG paths, using a Mercator projection. It loads geographic data from a GeoJSON file and draws each country as a path element. The code uses D3 v5’s `d3.json`, `d3.geoMercator`, and `d3.geoPath` to project and trace the map, within a fixed 1400×700 viewBox. No interactions or styling are applied beyond the static continent paths, making it a minimal, barebones geographic visualization.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.