Skip to main content
100%

Japan Map

✓ Published0🌍 Public
Ggayuvurukuti@gmail.com
Last edited Apr 13, 2023
Created on Apr 12, 2023
Forked from HTML Starter

This visualization displays a map of Japan using D3.js, with each prefecture rendered as a green path. The map uses a Mercator projection with zoom and pan interaction enabled via D3’s `zoom` behavior. TopoJSON data is loaded and converted to GeoJSON using the `feature` API, then paths are drawn with `d3.geoPath`. The code leverages `d3.json` for data loading, `scaleOrdinal` and `schemeCategory10` for potential color scaling, and the `d3-geo-projection` library for projection support. The SVG output is styled with CSS.

AI-generated description

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

MIT Licensed

Similar vizzes