Skip to main content
100%

US State Map

✓ Published1🌍 Public
AAkhila-Battula
Last edited Apr 3, 2022
Created on Apr 1, 2022
Forked from World Map

This example displays a choropleth-style map of the United States, showing state boundaries as gray filled polygons with white strokes on a blank background. It uses D3 v5’s `geoAlbersUsa` projection and `geoPath` to render the geographic shapes, while the TopoJSON `feature` API extracts state geometries from the `counties-10m.json` dataset hosted via jsdelivr. The map is drawn as SVG paths appended to a fixed 960×500 canvas, with styling applied through a CSS class.

AI-generated description

Country map with Topojson data

MIT Licensed

Similar vizzes