Skip to main content
100%

Fork of Japan Map

✓ Published0🌍 Public
KKeerthipriyaBankuru
Last edited Jul 9, 2022
Created on Jul 9, 2022
Forked from Japan Map

This example visualizes Japan’s administrative boundaries using a Mercator projection rendered as SVG paths. The map displays prefecture outlines in pink with black strokes, colored via d3.scaleOrdinal and schemeCategory10, and supports pan and zoom through d3.zoom. Data is loaded via d3.json from a TopoJSON file, converted to GeoJSON with topojson.feature, and drawn using d3.geoPath. The code imports d3 modules for selection, projections, scales, and event handling, while d3-geo-projection.v2 is included for additional projection support.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes