This project presents a data-driven analysis of recent layoffs across industries using structured datasets and visual insights. The goal is to explore patterns, trends, and correlations in workforce reductions to inform stakeholders, analysts, and decision-makers about how layoffs evolved over time.
The repository includes:
layoffs.csv– structured layoff datasetstudy.sql– SQL queries for exploration & aggregationstudy.ipynb– Jupyter Notebook with full analysis & visualizations
| File / Folder | Description |
|---|---|
layoffs.csv |
Dataset with metadata (date, company, industry, region, roles affected). |
study.sql |
SQL queries for data aggregation & insights. |
study.ipynb |
Jupyter Notebook for cleaning, visualization, and analysis. |
README.md |
This file. |
LICENSE |
MIT License |
- Data Exploration – Explore layoffs across industries, regions & timelines
- Trend Analysis – Identify peaks, sector hotspots & recurring patterns
- Contextual Insights – Link data trends with economic & industry events
- Reporting – Create visual & tabular insights for decision-making
1️⃣ Layoff Peaks Correspond to Economic Shifts
Layoffs surge during economic downturns & industry contractions. Publicly reported layoffs, e.g., in tech, show significant reductions during slowdowns.
2️⃣ Tech Sector Shows High Volatility
Major tech companies announced large layoffs. Example: GitHub India laid off 140+ engineers during a strategic reorganization.
Source
3️⃣ Mass Layoffs Often Not Performance-Driven
Layoffs often happen due to restructuring or cost-cutting rather than individual performance.
4️⃣ Role of Sudden Economic Events
Startups shutting down, funding droughts, or global recessions trigger abrupt layoffs with minimal notice.
- Standardized dates & types
- Handled missing values
- Normalized categorical fields (industry, region)
- Aggregate layoffs by year/industry/company
- Identify top companies with maximum layoffs
- 📈 Time series of layoffs by quarter/year
- 📊 Bar charts by sector
- 🌍 Heatmaps for regional layoff density
All visualizations & analyses are in study.ipynb.
pip install pandas matplotlib seaborn sqlalchemy jupyter
# Clone the repo
git clone https://github.com/neerajcodes888/Recent-Layoffs-Case-Study.git
cd Recent-Layoffs-Case-Study
# Open notebook
jupyter notebook study.ipynb
## 🌟 Future Extensions
- 📉 **Predictive Modeling:** Forecast layoff trends using time-series models
- 📰 **Sentiment Analysis:** Correlate layoffs with news & social media trends
- 📊 **Interactive Dashboards:** Real-time data exploration for stakeholders
---
## ⚖️ License
This project is licensed under the **MIT License** – see the `LICENSE` file.
---
## 🎨 Fun Animations & Badges

---
## 💡 Author
**Neeraj Kumar**
- GitHub: [neerajcodes888](https://github.com/neerajcodes888)
- LinkedIn: [Neeraj Kumar](https://www.linkedin.com/in/neeraj-kumar-9a75811a2/)
- Email: neerajmail888@gmail.com