Skip to main content
100%

US State Map

✓ Published1🌍 Public
Ddanrhymes
Last edited Feb 16, 2020
Created on Feb 16, 2020
Forked from Untitled

This example displays a static map of US states, with each state rendered as a gray path using an SVG. The code loads state boundary data from a TopoJSON file and converts it into GeoJSON features using the `feature` function from topojson. It then projects the geographic coordinates to screen space with the `geoAlbersUsa` projection and `geoPath` generator from D3, appending the resulting paths to the SVG. No additional data or interactivity is applied.

AI-generated description
MIT Licensed

Similar vizzes