Skip to main content
100%

State Graph

✓ Published0🌍 Public
SSelena Ding
Last edited Dec 15, 2022
Created on Dec 14, 2022

This example displays a choropleth-style map of the United States, with each state rendered as a light gray polygon and white borders separating them. It loads the US TopoJSON data from `us-10m.v1.json` and uses `d3.geoPath` to project the state features. The code applies a scale transform to the SVG to adjust the map’s size and vertical position. The visualization uses D3 v4 and TopoJSON v2, with the map drawn as SVG paths.

AI-generated description
MIT Licensed

Similar vizzes