Skip to main content
Public

Share visualization

Loading preview…

Fork of Bar Chart: the unemployment rates for each state from 1990 to 2010

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

Fork of Bar Chart: the unemployment rates for each state from 1990 to 2010

1
Oomniaabouhassan@gmail.com
Last edited Nov 13, 2024
Created on Nov 13, 2024

This interactive grouped bar chart, built with D3.js, visualizes unemployment rates for each state from 1990 to 2010. It shows the percentage of the labor force unemployed per state, with a dropdown menu to select a specific year, dynamically updating the chart’s bars. The visualization uses D3’s `scaleBand`, `scaleLinear`, and `scaleOrdinal` to manage the x, y, and color axes, plus `axisBottom` and `axisLeft` for tick marks. Hovering over a bar reveals a tooltip with the precise rate and year.

AI-generated description

The project uses D3.js to create an interactive grouped bar chart that visualizes unemployment rates across different states over multiple years. The chart allows users to select a specific year and view the corresponding unemployment rates for each state.

Features Grouped Bar Chart: Displays unemployment rates for each state, grouped by year. Interactive Dropdown: Allows users to select a year and update the chart dynamically. Tooltips: Provides additional information when hovering over bars, showing the exact unemployment rate for the selected year and state. Legend: Indicates the colors corresponding to different years. Hover: Hover over the bars to see the exact unemployment rate for the selected year and state.

Comments

Sign in to join the discussion.

MIT Licensed