Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
LLittledevil7
Last edited Apr 21, 2020
Created on Apr 21, 2020
Forked from HTML Starter

This example displays a map of China rendered as an SVG path filled with lavender and outlined in dark grey, centered on the country using a Mercator projection. It loads GeoJSON data from `data/china.json` via `d3.json` and draws it with `d3.geoPath`, configuring the projection through `d3.geoMercator` with specified center, scale, and translation. The visualization is built with React, though the core rendering relies on D3’s SVG manipulation to append the path to the page.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes