Skip to main content
Public

Share visualization

Loading preview…

Fork of Japan Map

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Japan Map

0
KKeerthipriyaBankuru
Last edited Jul 9, 2022
Created on Jul 9, 2022
Forked from Japan Map

This map of Japan displays its prefectural boundaries as distinct orange regions against a white background. Built with React and rendered as SVG, it uses D3’s `geoMercator` projection and `geoPath` to draw the shapes, while `d3-geo-projection` extends the available projections. The visualization supports zooming via D3’s `zoom` behavior, and prefectures are colored using `scaleOrdinal` with `schemeCategory10` for categorical distinction. State boundaries come from TopoJSON data loaded from external GitHub gists, and the page includes CSS for styling.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed