Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

US State Map

Public visualization

Viewing a saved revision (read-only)

3d2d8311007142acb0824e4cd462ff9d

US State Map

0 stars1🌍 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