Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
PPaul Chen
Last edited Oct 26, 2020
Created on Oct 26, 2020
Forked from HTML Starter

This example displays a basic world map by loading TopoJSON country boundaries and rendering them as SVG paths. The map uses a Mercator projection via `d3.geoMercator` and `d3.geoPath` to convert geographic coordinates into SVG path data. The code fetches the world-atlas dataset from a CDN, transforms it into GeoJSON using `topojson.feature`, and appends a `path` element for each country. The visualization is minimal, with no styling or interaction, serving as a starter template for geographic data exploration with React.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes