🌍 Public
Viewing a saved revision (read-only)
e89e3237d0f04728b5e9f0f134c67e6d
Japan Map
This visualization displays a map of Japan rendered as SVG paths, with each geographic feature outlined in red and filled with aqua. The code uses D3 v5’s `d3.geoMercator` projection and `d3.geoPath` to convert GeoJSON features into drawable paths, centered on coordinates [13, 52]. It fetches geographic data from a remote GeoJSON URL via `d3.json`. The SVG is created with `d3.select` and appended directly to the page body, while React handles the page structure around the chart.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.