Skip to main content
Public

Share visualization

Loading preview…

Unemployment Rate Box Plot

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Unemployment Rate Box Plot

1
Oomniaabouhassan@gmail.com
Last edited Dec 4, 2024
Created on Oct 30, 2024

This interactive D3.js box plot shows the distribution of 2020 unemployment rates across U.S. states, with each state's median, quartiles, and min-max range. Built using d3.scaleBand and d3.scaleLinear, it sorts states by median unemployment in descending order. Hovering reveals detailed statistics via a tooltip, while clicking a box highlights that state. The data originates from the @oabouhas/unemployment package, and the visualization renders as an SVG with animated transitions.

AI-generated description

Unemployment Rate Box Plot Visualization This project visualizes unemployment rate data across various U.S. states for the year 2020. Using D3.js, it presents a box plot to highlight the distribution of unemployment rates, showing median, quartiles, and range (min-max) for each state. This is part of a data visualization project aimed at making statistical data on employment more accessible and insightful.

Project Structure -index.js: Main file where the D3 visualization is built. -Data Source: The unemployment data is imported from @oabouhas/unemployment, containing various employment metrics for each U.S. state by month and year. -Container: The visualization is rendered inside an HTML container.

Data Overview This dataset includes:

-Year: Year of the data record. -Month: Month of the data record. -State/Area: U.S. state or region. Percent (%) of Labor Force Unemployed in State/Area: Unemployment rate for each state. The data is structured with Year and Month as separate fields, which are combined into a date format for easier filtering and visualization.

Comments

Sign in to join the discussion.

MIT Licensed