After performing data cleaning, this project focuses on Exploratory Data Analysis (EDA) to derive insights from the layoffs dataset. The dataset contains records of company layoffs, including industry, country, funding raised, and more. The objective of this project is to analyze trends and patterns in layoffs across different factors such as time, industry, and company size using MySQL.
Mass layoffs affect both the economy and individual livelihoods. During financial downturns, it's crucial to identify:
- Which industries and countries are most impacted
- What funding stages face higher risks
- How layoff trends evolve over time
This project aims to extract actionable insights from layoff data to support HR strategists, policymakers, investors, and analysts in workforce planning and economic forecasting.
- 📊 Helps businesses and governments predict economic stress across industries
- 💼 Supports strategic hiring and downsizing decisions for HR departments
- 🌍 Reveals region-wise vulnerabilities to help mitigate future workforce crises
- 💡 Offers insights to investors and market analysts by connecting layoffs with company funding stages and raised capital
This project performs SQL-based EDA to analyze:
- 🔍 Maximum layoffs by company and percentage
- 🏢 Companies with 100% workforce cuts
- 📆 Layoff trends over time (year/month)
- 🏭 Industry-wise impacts
- 🌐 Country-wise analysis
All insights were derived using structured SQL queries (e.g., GROUP BY
, ORDER BY
, MAX()
, WHERE
) and optionally visualized using Python (Jupyter).
- Source: Cleaned version of
layoffs.csv
- Total Entries: 2,361 rows
- Columns: 9
company
: Name of the companylocation
: Company headquartersindustry
: Industry categorytotal_laid_off
: Number of employees laid offpercentage_laid_off
: Percentage of workforce laid offdate
: Layoff announcement datestage
: Funding stage of the companycountry
: Country of the companyfunds_raised_millions
: Total funds raised in millions
- Found the maximum number of employees laid off and the highest percentage of workforce reduction in a single instance.
- Identified companies where 100% of employees were laid off.
- Analyzed which companies had the most severe layoffs in terms of absolute numbers and funding raised.
- Aggregated total layoffs per company to find which firms had the highest job cuts.
- Found the earliest and latest layoffs recorded in the dataset.
- Grouped layoffs by year and month to identify layoff trends over time.
- Identified industries with the highest total layoffs.
- Determined which industries were most affected during layoffs.
- Aggregated layoffs by country to find which nations were most impacted.
- Compared layoffs across different regions.
- MySQL – Used for executing EDA queries and aggregating insights.
- Jupyter Notebook / Python (Optional) – Could be used for further visualization.
This analysis was conducted using SQL queries, including:
MAX()
– To find the highest number of layoffs.GROUP BY
– To aggregate layoffs by company, industry, country, and time.ORDER BY
– To rank layoffs based on total numbers.WHERE
– To filter specific conditions such as 100% workforce layoffs.
EDA is a crucial step in data science and decision-making. By analyzing layoffs, we can:
- Identify which industries are most affected.
- Detect economic trends and corporate downsizing patterns.
- Provide data-driven insights for workforce planning and policy-making.
- Clone this repository to your local system:
git clone https://github.com/your-username/data-analysis-project.git