Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Choropleth Starter

Public visualization

D3 Choropleth Starter

1 star0🌍 Public
AAlark Joshi
Last edited Apr 16, 2025
Created on Apr 16, 2025
Forked from HTML Starter

A choropleth map of United States county unemployment rates, colored with a blue threshold scale. The map displays each county as a path, with hover tooltips showing the exact rate. The visualization loads county boundaries and unemployment data via Promises, then renders them using D3's `geoPath` and TopoJSON feature extraction. A legend with an axis shows the color scale, while state borders are drawn as a white mesh overlay.

AI-generated description

Modified version of Bostock's Choropleth example. Upgraded from d3v4 to d3v7.

Comments

Sign in to join the discussion.

MIT Licensed