HR Data Analysis Project
Welcome to the HR Data Analysis project repository. This project utilizes Tableau and SQL to analyze and visualize human resources data, providing valuable insights into our organization's workforce.
-
Data Analysis: Explore key HR metrics, trends, and patterns to make informed decisions related to talent management and employee engagement.
-
Interactive Visualizations: Utilize Tableau to create interactive and insightful data visualizations that enable easy exploration of HR data.
-
SQL Queries: Leverage SQL to efficiently query and manipulate HR data, enabling deeper analysis and reporting.
-
Insightful Reports: Generate reports and summaries to facilitate data-driven decision-making processes within the HR department.
- Interactive Tableau dashboards
- SQL scripts for data manipulation and analysis
- Comprehensive HR data visualizations
- Insights and recommendations for HR strategy
Feel free to explore the project's code, visualizations, and findings. We welcome contributions, suggestions, and collaboration from the community to further enhance our understanding of HR data.
- Counting Total Employess
- Counting Total Attrition
- Counting Attrition Rate
- Active Employees
- Avgerage Age
- Attrition By Gender
- Department wise Attrition
- No of employees by Age Group
- Education Field Wise Attrition
- Job Satisfaction Rating
- Attrition Rate by gender for different Age Groups
- Final Result Dashboard
- Counting Total Employess
Query :
select count(distinct emp_no) as Employee_Count from hrdata;
Result :
- Counting Total Attrition
Query :
select count(attrition) as Attrition_Count from hrdata where attrition = 1 ;
Result :
- Counting Attrition Rate
Query :
select ( (select count(attrition) from hrdata where attrition = 1 )*1.0 / sum(employee_count))*100 as 'Attrition Rate' from hrdata;
Result :
- Active Employees
Query :
select count(active_employee) as 'Avg. Age' from hrdata where active_employee = 1;
Result :
- Avgerage Age
Query :
select sum(age) / count(emp_no) as 'Active Employee' from hrdata where active_employee = 1;
Result :
- Attrition By Gender
Query :
select gender , count(attrition) as Attrition_Count from hrdata where attrition= 1 group by gender order by count(attrition) desc;
Result :
- Department wise Attrition
Query :
select department , count(attrition) as Attrition_Count from hrdata where attrition= 1 group by department order by count(attrition) desc;
Result :
- No of employees by Age Group
Query :
select age , count(attrition) as Attrition_Count from hrdata where attrition= 1 group by age order by count(attrition) desc ;
Result :
Note -- The above image does not have complete data
- Education Field Wise Attrition
Query :
select education , count(attrition) as Attrition_Count from hrdata where attrition= 1 group by education order by count(attrition) desc;
Result :
- Job Satisfaction Rating
Query :
select job_role , job_satisfaction, count(job_satisfaction) as 'Total Rating' from hrdata group by job_satisfaction, job_role ;
Result :
Note -- The above image does not have complete data





















