HTML Starter
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed