Skip to main content
100%

Fork of Fork of Fork of Japan Map.viz

✓ Published0🌍 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.

MIT Licensed

Similar vizzes