Fork of Japan Map
✓ Published0🌍 Public
This example displays a map of Japan rendered as SVG paths, with each geographic region filled in a solid color and outlined by white borders. The visualization uses a Mercator projection configured with `d3.geoMercator` and applies a zoom behavior via `d3.zoom` to enable interactive panning and scaling. Geographic data is loaded as TopoJSON from a remote GitHub source and converted to GeoJSON using the `feature` function from `topojson`. Color encoding relies on `d3.scaleOrdinal` with `schemeCategory10`, though the code fetches a Greece dataset, so the map’s actual region boundaries may not match the title.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed