Skip to main content
Public

Share visualization

Loading preview…

Fork of Impact of Covid-19 on Employment Bar Graph

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 Impact of Covid-19 on Employment Bar Graph

0
NNanditha Reddy
Last edited Mar 20, 2024
Created on Mar 20, 2024

This bar chart visualizes the impact of COVID-19 on employment by displaying the percentage of hours lost for a 40-hour workweek across 14 countries. The visualization uses a horizontal bar layout, with each bar’s length encoding the data value, making it easy to compare losses between nations. Built with React and D3 v5, the chart employs `scaleBand` for the categorical country axis and `scaleLinear` for the quantitative percentage axis. Data is loaded asynchronously from a CSV file using D3’s `csv` function, while SVG rectangles render the bars, with axis ticks and labels drawn manually.

AI-generated description

A whole smiley face

Comments

Sign in to join the discussion.

MIT Licensed