Skip to content

This project conducts an Exploratory Data Analysis on salary data to uncover trends in job roles, industries, and company influences on compensation. Through 19 detailed visualizations, it reveals how factors like employment type and company ratings affect salaries.

Notifications You must be signed in to change notification settings

DhruvSTrivedi/EDA_Salary_Dataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Salary Dataset - Exploratory Data Analysis (EDA)

Introduction

This project explores salary trends using Exploratory Data Analysis (EDA). The goal is to uncover insights into salary distributions, job roles, industries, and company factors that influence compensation. Through 19 high-quality visualizations, we analyze the relationship between job roles, employment status, company ratings, and salary trends.

📂 Dataset Overview

The dataset contains structured salary information across various job roles, employment types, industries, and locations. The analysis focuses on:

  • Salary Distribution: Understanding how salaries are spread across different roles.
  • Employment Status Impact: How full-time, part-time, and contract jobs affect salary levels.
  • Industry Trends: Identifying the most lucrative industries.
  • Job Role Analysis: Examining salary differences across roles.
  • Company Ratings Influence: Analyzing the correlation between salary and company reputation.

📌 Libraries & Dependencies

To successfully run the project and generate the visualizations, ensure you have the following Python libraries installed:

pip install pandas matplotlib seaborn folium wordcloud numpy

📊 Exploratory Data Analysis

1️⃣ Salary Distribution – Histogram & KDE Plot

This visualization represents the overall salary distribution in the dataset, highlighting salary concentration and outliers.

Salary Distribution


2️⃣ Salary Density Plot

A Kernel Density Estimate (KDE) plot illustrating the probability density of different salary ranges.

Salary Density Plot


3️⃣ Salary Distribution by Employment Status

Compares salaries based on employment type (Full-time, Part-time, Contract).

Salary Distribution by Employment Status


4️⃣ Salary Distribution Across Job Roles

Visualizes the variation in salaries across different job titles.

Salary Distribution by Job Roles


5️⃣ Most Popular Job Titles

Displays the most frequently occurring job titles in the dataset.

Most Popular Job Titles


6️⃣ Most Common Job Roles

A bar chart showcasing the most common job roles in the dataset.

Most Common Job Roles


7️⃣ Top 10 Locations with Highest Salaries

Identifies the locations offering the highest average salaries.

Top Locations with Highest Salaries


8️⃣ Top Companies Paying the Highest Salaries

Highlights the companies offering the best compensation.

Top Companies Paying Highest Salaries


9️⃣ Salary Breakdown by Job Roles & Employment Status

Illustrates how different job roles and employment statuses impact salary ranges.

Salary Breakdown by Job Roles and Employment Status


🔟 Salary Trends Over Job Roles

A trend analysis of how salaries fluctuate across various job positions over time.

Salary Trends Over Job Roles


1️⃣1️⃣ Salary Trends per Industry

Examines how different industries pay over time.

Salary Trends Per Industry


1️⃣2️⃣ Salary Variance by Employment Type

Shows how salary varies across different employment types.

Salary Variance by Employment Type


1️⃣3️⃣ Salary Variance by Job Roles & Employment Status

Explores the variance in salaries when considering both job roles and employment status.

Salary Variance by Job Roles and Employment Status


1️⃣4️⃣ Salary vs. Company Rating

Analyzes whether higher-rated companies offer better salaries.

Salary vs Company Rating


1️⃣5️⃣ Salary Outlier Analysis

Detects anomalies in salary distribution, identifying potential data issues or extreme values.

Salary Outlier Analysis


1️⃣6️⃣ Salary Trends Per Job Role & Employment Type

Visualizes how salary trends shift based on job role and employment type.

Salary Trends Per Job Role and Employment Type


1️⃣7️⃣ Correlation Heatmap of Salary Dataset

A correlation matrix heatmap showcasing relationships between salary and other features.

Correlation Heatmap


1️⃣8️⃣ Salary Distribution by Job Role

Examines the salary spread for different job roles.

Salary Distribution by Job Role


1️⃣9️⃣ Top Job Roles Salaries

Shows the highest-paying job roles in the dataset.

Top Job Roles Salaries


🔎 Key Insights

  • Salaries significantly vary based on employment type, with full-time roles offering the highest pay.
  • Top-paying companies have higher company ratings, indicating a correlation between job satisfaction and salary.
  • The technology and finance sectors offer the most competitive salaries.
  • Salary outliers exist, highlighting potential highly paid executive roles or data inconsistencies.

📊 Interactive Salary Insights Dashboard

Explore the interactive **Salary Insights Dashboard** created using **Tableau** to gain deeper insights into salary distributions, job roles, industries, and company factors influencing compensation.

<script type='text/javascript'> var divElement = document.getElementById('viz1739394395225'); var vizElement = divElement.getElementsByTagName('object')[0]; if ( divElement.offsetWidth > 800 ) { vizElement.style.width='1900px'; vizElement.style.height='927px'; } else if ( divElement.offsetWidth > 500 ) { vizElement.style.width='1900px'; vizElement.style.height='927px'; } else { vizElement.style.width='100%'; vizElement.style.height='2127px'; } var scriptElement = document.createElement('script'); scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js'; vizElement.parentNode.insertBefore(scriptElement, vizElement); </script>

🚀 Future Work

  • Incorporating machine learning models to predict salary based on job factors.
  • Adding interactive dashboards using Plotly or Tableau.

Author: Dhruv Trivedi

About

This project conducts an Exploratory Data Analysis on salary data to uncover trends in job roles, industries, and company influences on compensation. Through 19 detailed visualizations, it reveals how factors like employment type and company ratings affect salaries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages