Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Japan Map.viz

Public visualization

Fork of Fork of Fork of Japan Map.viz

0 stars0🌍 Public
NNikhilchiguru-8
Last edited Mar 29, 2023
Created on Mar 29, 2023

This visualization displays the prefectural boundaries of Japan as colored SVG paths. The map uses a Mercator projection centered on the country, with each administrative region filled in a distinct color from a categorical scheme. The code employs the `d3.geoMercator` projection, `d3.geoPath` for generating path data, and `topojson.feature` to extract features from the TopoJSON source. Interactive zooming is enabled through the `d3.zoom` module, which updates the SVG group's transform.

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