Skip to main content
100%

Basic Map

✓ Published0🌍 Public
CChristopher Morrissey
Last edited Apr 3, 2020
Created on Apr 3, 2020
Forked from 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 description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes