Dashboard Link : https://app.powerbi.com/links/jbWM2cSU6v?ctid=d0be5b41-bbc7-46dd-87f9-beac47265f74&pbi_source=linkShare
We are analysing Layoffs data to identify which countries, industries and locations had the most number of layoffs after Covid pandemic. The dataset utilized in this project is sourced from the Kaggle Layoffs Dataset.
The main goal of this project is to gain understanding from Layoffs dataset, exploring the various industries and timelines that influence layoffs across different countries.
This project's data was obtained from the Kaggle Layoffs Dataset and it encompasses the layoffs from across the world after Covid-19 pandemic. The data contains 9 columns and 3300 rows:
Column | Description | Data Type |
---|---|---|
Company | Name of the company | VARCHAR |
Location | Location of company headquarters | VARCHAR |
Industry | Industry of the company | VARCHAR |
Total Laid Off | Number of employees laid off | INT |
Perctange Laid Off | Percentage of employees laid off | FLOAT |
Date | Date of layoff | DATETIME |
Stage | Stage of funding | VARCHAR |
Country | Country of the company | VARCHAR |
Funds Raised | Funds raised by the company (in Millions $) | FLOAT |
- Industry Analysis
The objective of this analysis is to find which Industry had the most number of layoffs after the Covid-19 pandemic.
- Company Analysis
Perform an analysis on the data to gain insights into different companies, determine the company which laid off most employees.
- Country Analysis
The objective of this analysis is to find which Country had the most number of layoffs after the Covid-19 pandemic.
- Stage Analysis
Perform an analysis on the data to gain insights into different stages of the company, to determine the company which laid off most employees.
1. Data Wrangling
During this initial phase, the data is examined to detect any NULL or missing values, and strategies for data replacement are implemented to address and substitute these values effectively.
- Build a database
- Create a table and insert the data.
- Select columns with null values in them. Null values are not present in our database because, in creating the tables, NOT NULL was specified for each field, effectively filtering out any null values.
2. Exploratory Data Analysis (EDA)
Conducting exploratory data analysis is essential to address the project's listed questions and objectives.
Select sum(total_laid_off) as Total_Layoffs
from layoffs
Result:
In the last 4 years a total of 530,058 employees have been laid off with the 2023 year having the most number at 262862 epmployees that were laid-off.
- Top 5 industries that had the most number of layoffs
select top (5) country , sum(total_laid_off) as Layoff_Count
from layoffs
group by country
order by Layoff_Count desc
Result:
Retail and Consumer industries faced the most number of layoffs being as close to 62,000 employees being laid off. They contribute to 12% of the total value.
- Top 5 industries that had the most number of layoffs during peak pandemic (2020 to 2021)
select industry, sum(total_laid_off) as Layoff_count
from layoffs
where date between '2020-01-01 00:00:00.000' and '2021-12-31 00:00:00.000'
group by industry
order by Layoff_count desc
Result:
Due to the Covid 19 pandemic and a global lockdown Transport and Travel industries faced the most layoffs as they faced major losses.
- Top 5 industries that had the most number of layoffs during post pandemic (2022 to 2024)
select industry, sum(total_laid_off) as Layoff_count
from layoffs
where date between '2023-01-01 00:00:00.000' and '2024-12-31 00:00:00.000'
group by industry
order by Layoff_count desc
Result:
After the pandemic, travel and transportion has recovered considerably. But Retail and consumer industries hired more employees during the pandemic due to increase of demand by the consumer.
- Top 5 companies that laid off the most employees
select company, sum(total_laid_off) as Layoff_count
from layoffs
order by Layoff_count desc
Result:
- Top 5 companies that laid most employees during pandemic
select company, sum(total_laid_off) as Layoff_count
from layoffs
where date between '2020-01-01 00:00:00.000' and '2022-12-31 00:00:00.000'
group by company
order by Layoff_count desc
Result:
Uber and Booking.com are the companies that laidoff most the emoloyees during the pandemic. This is due to the fact during the lockdown the travel and transportation industry were hit with the most loss.
- Top 5 companies that laid off the most employees post pandemic
select company, sum(total_laid_off) as Layoff_count
from layoffs
where date between '2023-01-01 00:00:00.000' and '2024-12-31 00:00:00.000'
group by company
order by Layoff_count desc
Result:
Tech companies Amazon and Meta has laid off the most employees post pandemic. This is because during the pandemic these companies had mass hiring due to low federal bank interest rate.
- Companies that had multiple layoff rounds
select company, count (*) as Rounds
from layoffs
group by company
having count (*) >1
order by Rounds desc
Result:
Tech companies had multiple rounds of layoffs in the mast 4 years.
- Countries that had most number of layoffs
select top (5) country , sum(total_laid_off) as Layoff_Count
from layoffs
group by country
order by Layoff_Count desc
Result:
United states has the most number of layoffs at staggering 354,157 employees. Thats 66% of the total layoffs. India comes secomd woth 47,759 employees with a 9% share. United States and India together contributes of 75% of the layoffs in the world.
- Location in United States with maximum layoffs
select location, sum(total_laid_off) as Layoff_Count
from layoffs
where country='United States'
group by location
order by Layoff_Count desc
Result:
Major tech cities like Bay Area and Seattle had faced major layoffs.
- Location in India with maximum layoffs
select location, sum(total_laid_off) as Layoff_Count
from layoffs
where country='India'
group by location
order by Layoff_Count desc
Result:
'Silicon Valley of India'- Bangalore faced the most layoffs at 27,237 contributing close 60% of total India's layoffs.
- Location in except United states and India with maximum layoffs
select location, sum(total_laid_off) as Layoff_Count
from layoffs
where country !='India' and country != 'United States'
group by location
order by Layoff_Count desc
Result:
For remaining countries their respective capitals had the majot layoffs. But unlike United States and India each country only had one city that were affected.
- Number of layoffs in different stages
--Top 5 companies with most layoffs
select top (5) company , sum(total_laid_off) as Layoff_Count
from layoffs
group by company
order by Layoff_Count desc
Majority of the comany were in Post-IPO stage when they laidoff the employees.
- Number of layoffs in Covid
select stage, sum (total_laid_off) as Layoff_count
from layoffs
where date between '2020-01-01 00:00:00.000' and '2021-12-31 00:00:00.000'
group by stage
order by layoff_count desc
Result:
- Number of layoffs in post Covid
select stage, sum (total_laid_off) as Layoff_count
from layoffs
where date between '2022-01-01 00:00:00.000' and '2024-12-31 00:00:00.000'
group by stage
order by layoff_count desc
Result:
Irrespective of the pandemic Post-IPO companies had the most loyoffs.
After performing Exploratory Data Analysis on Layoffs dataset it is evident that Tech companies in the world has laidoff most number of the employees post pandemic. During the pandemic as the interest rates were very low these companies mass hired thousands of employees. Once the pandemic was over, the federal intereset rates were increased to stablize the economy. This caused many of the companies to reduce their workforce as their profits remaind the same but expenditure increased.
Industries like Legal, Manufacturing and Energy had the least number of layoffs during the pandemic and post pandemic as these are some of the most neccessary industry and will always be in demand.