DEV Community

Okpanachi Ogwu
Okpanachi Ogwu

Posted on

πŸ“Š Analyzing 920k+ Global Layoffs (2020–2026): What the Data Tells Us

The tech and corporate world has felt like a rollercoaster over the last few years. As a data analyst, I wanted to look past the dramatic headlines and dive straight into the numbers to see the actual patterns, triggers, and scales of these workforce reductions.

I analyzed a comprehensive Layoffs Dataset spanning from 2020 to 2026, tracking 4,469 records across 11 columns (including company, country, industry, total laid off, funding stage, and dates).

Here is how I approached the data and what I uncovered.

πŸ› οΈ The Data Engineering Process

1.Before jumping into charts, I spent time preparing the dataset to ensure total accuracy. My pipeline involved:

2.Feature Engineering: Converted the raw date columns to datetime format and extracted explicit Year, Month, and Quarter columns to allow for deep seasonal analysis.

3.Handling Missing Data: Replaced missing categorical values with "Unknown" and imputed missing numerical values with 0 to keep aggregations clean.

4.Quality Assurance: Performed duplicate checks (confirming 0 duplicate records) before exporting the final dataset as "layoffs_cleaned.csv."

πŸ“ˆ The Big Picture: 924,670 Careers Impacted
Globally, a staggering 924,670 employees were laid off during this time frame. When we break this down, a very clear timeline emerges.

  1. The Timeline Peak (Layoffs by Year) The data shows that workforce reductions weren't a gradual slopeβ€”they exploded in a specific window:

(a) πŸš€ 2023 was the absolute peak of global layoffs, recording 265,560 affected employees.

(b) πŸ“‰ 2022 was the second highest, with 165,269 layoffs, signaling the start of aggressive corporate restructuring.

  1. Epicenters of Impact: Top 5 Countries The workforce reduction wave was heavily concentrated in specific regions, with the US leading by a massive margin:

United States – 657,891

India – 66,289

Germany – 32,055

United Kingdom – 24,594

Netherlands – 21,975

  1. Hardest Hit Sectors
    While "Other" non-specified industries took the top spot, consumer-facing and tech-heavy infrastructure sectors bore the brunt of the cuts:

  2. Retail – 106,706 employees

  3. Hardware – 106,261 employees

  4. Consumer – 97,007 employees

  5. Finance – 69,512 employees

  6. The Megacorps Leading the Numbers
    A massive portion of the total global layoffs came from a handful of large, multinational tech giants adjusting after the pandemic hiring boom:

  7. Amazon: 58,124

  8. Intel: 43,115

  9. Meta: 35,700

  10. Oracle: 31,294

  11. Microsoft: 30,055

🎨 Visualizing the Trends
To uncover these stories, I built 7 distinct visualization dashboards:

  1. Layoffs by Year (Highlighting the 2023 spike)

  2. Top 10 Countries by Layoffs

  3. Top 10 Industries by Layoffs

  4. Top 10 Companies by Layoffs

  5. Monthly Layoff Trend (Revealing seasonal patterns)

  6. Layoffs by Company Stage (Comparing post-IPO giants vs. early-stage startups)

  7. Quarterly Layoff Trend

πŸ’‘ Key Takeaways
The US and Big Tech Ecosystems Were the Epicenter: Large multinational technology companies in the United States accounted for the overwhelming majority of global headcount reductions.

The Post-Pandemic Correction: The massive surge in 2022 and peak in 2023 strongly point to an industry-wide course correction following the rapid over-hiring boom of 2020–2021.

Consumer Shifts: The high numbers in Retail, Hardware, and Consumer goods show how directly changing macroeconomic pressures and inflation affected consumer spending.

🏁 Conclusion
This analysis moves us past speculation. The data clearly shows that the massive spike between 2022 and 2023 was driven by mega-cap tech and consumer companies correcting their trajectories. For businesses, policymakers, and job seekers alike, understanding these macroeconomic cycles is crucial for navigating today's job market.

πŸ’¬ I'd love to hear your thoughts in the comments!
If you are a developer or analyst, did your company or sector go through these shifts in 2023? Let’s talk about where you think the hiring market is heading next!





 ****

Top comments (1)

Collapse
 
onazi4real12345 profile image
Okpanachi Ogwu

If you are a developer or analyst, did your company or sector go through these shifts in 2023? Let’s talk about where you think the hiring market is heading next!****