BeiJing
✓ Published0🌍 Public
This example visualizes the administrative districts of Beijing using GeoJSON data loaded from `beijing.json`. It renders a map with the districts as white polygons outlined in black, and each district displays its name in a tooltip on mouseover. The visualization uses D3 v6 with a `d3.geoNaturalEarth1` projection fitted to the SVG canvas via `projection.fitSize`, and paths are generated with `d3.geoPath`. Tooltips are implemented with the `d3-tip` library, triggered by `mouseover` and `mouseout` events.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed