Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Japan Map

Public visualization

Viewing a saved revision (read-only)

80027865588241ee88a09f8bbee42943

Japan Map

1 star0🌍 Public
SSUSHMA CHIRRA
Last edited Apr 11, 2023
Created on Apr 11, 2023
Forked from Europe Map ICE8

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.