US Unemployment Bubble Map
This interactive bubble map visualizes U.S. unemployment rates by state for 2022, with each bubble’s size and color intensity reflecting the unemployment percentage. Users can hover over bubbles to view tooltips with state names and exact rates, while a gradient legend indicates the rate range, and zoom and pan controls allow regional exploration. Built with D3.js, it uses `d3.geoPath` and the `geoAlbersUsaTerritories` projection to render state boundaries, `d3.scaleSqrt` for bubble radii, and `d3.scaleSequential` with `interpolateReds` for coloring. Data comes from the `@oabouhas/unemployment` package, and state centroids are calculated via `d3.geoCentroid` from TopoJSON US Atlas data.
AI-generated descriptionU.S. Unemployment Rates by State (2022) This project
visualizes the unemployment rates in the US in 2022 using a
bubble map. Each bubble's size and color represent the
unemployment rate for each state. The data is sourced from
the @oabouhas/unemployment package.
Features Interactive Map:
Displays U.S. states with bubbles representing unemployment rates. Bubble size and color intensity correlate with the unemployment rate. Hovering over bubbles shows tooltips with state names and unemployment rates. Title:
A clear title, "U.S. Unemployment Rates by State (2022)," is displayed at the top of the graph. Color Scale Legend:
A dynamic gradient scale on the right side of the graph. Indicates the range of unemployment rates, from minimum to maximum values. Zoom and Pan:
Users can zoom in and out to focus on specific regions. Panning allows exploration of different areas of the map.