VOOZH about

URL: https://www.geeksforgeeks.org/r-language/human-resource-management-analytics-dashboard-in-r/

⇱ Human Resource Management Analytics Dashboard in R - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Human Resource Management Analytics Dashboard in R

Last Updated : 23 Jun, 2025

Human Resource Management plays an important role in any organization and business to evaluate the company's growth and performance based on the employees. This helps in analyzing the human assets working in a company and how they can be motivated to do better by different means. Human Resource Management helps in deriving useful information from employee data to make the working environment better and more efficient.

Project Overview

There are various needs for having HRM in a company:

  • Talent Acquisition and Retention: HR Management helps in keeping good talent in the company.
  • Employee Development: Focuses on continuous employee training and development, enhancing skills and career growth.
  • Performance Management: Implements performance appraisal systems to evaluate and improve employee productivity.
  • Workplace Culture: Fosters a positive work environment, improving employee satisfaction and engagement which helps them grow and increases productivity.
  • Compensation and Benefits: Designs competitive compensation packages to attract and retain top talent.

Now we will discuss step by step to create Human Resource Management Analytics Dashboard in R Programming Language.

1. Load libraries and Dataset

Replace the path of the dataset from the original one. We are using multiple libraries to for our dashboard.

Dataset Link:Human Resource Management Analytics

This dataset contains 1480 observations and 38 variables, representing various employee attributes and metrics.

Output:

👁 data
Human Resource Management Analytics Dashboard in R

2. Data Preprocessing

Data preprocessing is a crucial step to ensure the data is clean and ready for analysis. Here, we will handle missing values, convert data types and create new variables as needed.

Output:

[1] 57

3. Exploratory Data Analysis (EDA)

This step is important to identify and explore the dataset so that we can analyze it and make informed decisions. Here, we will create multiple such visualization to understand better.

Output:

👁 gh
Human Resource Management Analytics Dashboard in R

This pie chart indicates that the total employees of the given company has 60% male employees and 40% female.

3.1. Education Level of Employees

Now we will visualize the Education Level of Employees.

Output:

👁 gh
Human Resource Management Analytics Dashboard in R

3.2. Employee Age distribution

This will give us insights about the age group of the employees.

Output:

👁 gh
Human Resource Management Analytics Dashboard in R

As we can see that the age group from 30-40 have the highest number of employees.

3.3. Job Role Distribution

This explains us the kind of jobs provided and the number of employees in the certain sector.

Output:

👁 gh
Human Resource Management Analytics Dashboard in R

The highest number of job roles in the company is sales executive.

3.4. Monthly Income Distribution

This helps us analyze the income of the employees.

Output:

👁 gh
Human Resource Management Analytics Dashboard in R

3.5. Department-wise Gender Distribution

This plot will help us estimate the gender ratio in the company for better hiring to maintain equality and diversity.

Output:

👁 gh
Human Resource Management Analytics Dashboard in R

As we can see the least number of female employee is in Human resource department.

Dashboard Analysis for HR Management

A well-designed HR Management Analytics Dashboard provides important insights into various aspects of the workforce, enabling better management and strategic planning.

1. Department Based Dashboard for overview

Here we will build a dashboard which will help us navigate through different department and get all the necessary insights related to including an overview, employee engagement and attrition analysis.

Output:

👁 employee-dashboard-overview-GFG
Overview of the Dashboard of resource and development department

Here we can navigate and find different insights on the particular department. With the help of the toggle bar we can select the department we want.

2. Employee analysis based on the department and time

The UI layout consists of a title, a sidebar for navigation and a main panel for displaying the plots and metrics. The sidebar allows navigation through different departments and time periods.

Output:

👁 employee-time-GFG
DASHBOARD ANALYSIS

Conclusion

In this article, we discussed the importance of HR management and the role of machine learning in it. We used R and its libraries to evaluate and analyze employee performance. We built multiple graphs to get insights as well as dashboards to understand it better.

Comment

Explore