Skip to main content
100%

Fork of Impact of Covid-19 on Employment Bar Graph

✓ Published0🌍 Public
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

MIT Licensed

Similar vizzes