🌍 Public
Viewing a saved revision (read-only)
5d1cee2b6de1469b82ed7d4718dbd215
Untitled
This example displays a map of Japan rendered as SVG paths, with each prefecture drawn as a black shape outlined in white. The visualization uses d3.geoMercator projection with a clip extent and centers the map at coordinates [140, 30] with a scale of 700. It loads GeoJSON data via topojson’s feature method, applies a categorical color scale, and supports zooming and panning through d3.zoom. The map’s styling and layout are defined in an external stylesheet, and the data comes from a remote gist.
AI-generated description