Human resources dashboard
The human resources dashboard gives managers one view of workforce size, movement, time use, hiring, tenure, and gender by age group. It combines headline workforce KPIs with trend and distribution views so a manager can see the current team state and the main staffing signals in one place.
Dashboard scope
The dashboard is part of the broader experiences dashboard. A department selector and an employee action sit at the top of the page, while the cards below organize the workforce view into summary, time reporting, composition, and hiring areas.
The page follows this high-level path from current workforce state to supporting detail:
flowchart TD
A[Human resources dashboard] --> B[Workforce KPIs]
A --> C[Attendance and overtime]
A --> D[Tenure and gender views]
A --> E[Hiring pipeline]
B --> F[Staffing decisions]
C --> F
D --> F
E --> F
Workforce summary
The workforce summary provides a compact view of the size and recent movement of the team. It helps a manager start with the most direct signals before reading the charts.
KPI cards
The KPI cards show total employees, new hires, open positions, employees on leave today, and employees who left during the month. Change labels compare selected workforce movement with the prior month when a comparison is available. The open-position card also shows how many departments are hiring, while the leave card shows expected returns for the next day.
References: src/…/kpi-cards.tsx• L5-27 src/…/data.ts• L58-94
Workforce time reporting
Time reporting shows how available staff are distributed across attendance states and how submitted overtime is resolved. These views support short-term planning and help managers separate normal absence from extra time that still needs a decision.
Attendance overview
The attendance overview compares daily counts for present, on leave, and absent employees. Managers can switch between the current week and current month to see either a short operational view or a wider pattern. The stacked view keeps the three states in the same daily total, which makes changes in attendance easier to compare.
References: src/…/attendance-overview.tsx• L36-115 src/…/data.ts• L96-112
Overtime overview
The overtime overview groups submitted overtime hours by approval state: approved, pending approval, and rejected. A period selector supports this month, last month, and the last three months. The total in the center gives the submitted-hour context, while the status values show which hours still need review or cannot be used for approved work planning.
References: src/…/overtime-overview.tsx• L36-144 src/…/data.ts• L14-30
Workforce composition and hiring
The lower dashboard views explain how the workforce is shaped and how future staffing enters the organization. Tenure and gender views describe the current team, while the hiring pipeline describes candidates moving toward an offer.
Employee tenure
The employee tenure view groups employees by years of service: less than one year, one to two years, three to five years, six to nine years, and ten years or more. This view helps managers see whether the team is weighted toward recent hires, established staff, or long-serving employees.
References: src/…/employee-tenure.tsx• L17-52 src/…/data.ts• L42-48
Gender distribution
The gender distribution view compares male and female employee counts across age groups from 20–24 through 50 and above. It gives the workforce composition an age-based frame so managers can review representation patterns across the team rather than only as one overall count.
References: src/…/gender-distribution.tsx• L22-76 src/…/data.ts• L32-40
Hiring pipeline
The hiring pipeline shows candidate counts at Applied, Screening, Assessment, Interview, and Offer stages. It also presents the combined active-candidate count, which gives the manager a quick measure of current hiring demand before they inspect the stage balance.
References: src/…/hiring-pipeline.tsx• L17-73 src/…/data.ts• L50-56
Related dashboards
Human resources data gives the people view of work. Use the analytics and commerce dashboard for business measures, the operations and work management dashboard for work execution, and the people and customer management dashboard for adjacent people and customer views.
Change checklist
When these files or sections are changed, remember to consider these:
- Keep KPI comparison text aligned with the period used by the related workforce value.
- Keep attendance labels and overtime status labels aligned with the categories shown in their legends and summaries.
- Keep hiring stage names in the same order when the active-candidate total is derived from those stages.
- Keep tenure ranges and gender age groups mutually clear so viewers do not confuse workforce composition with staffing movement.
- Keep department choices consistent between the page-level selector and the department data used by the dashboard.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| A hiring stage is added or renamed without checking the active-candidate total | The headline candidate count can stop matching the pipeline | Update the stage data and total as one contract |
| An overtime status changes in only one view | The chart, legend, and hour summary can describe different states | Treat status names as a shared set across the chart and summary |
| Attendance periods use different date ranges | Week and month views can lead to inconsistent staffing conclusions | Keep the period selector and attendance data range aligned |
| A department option is changed in only one place | A manager can see a filter choice that does not match available workforce data | Keep page choices and department data synchronized |
Key files
| File | Why to read it |
|---|---|
| src/…/page.tsx | Shows the dashboard order and the relationship between its summary, time, composition, and hiring views. |
| src/…/data.ts | Defines the workforce measures, periods, groups, and labels used by the dashboard. |
| src/…/kpi-cards.tsx | Illustrates the headline workforce summary. |
| src/…/attendance-overview.tsx | Explains the daily attendance view and its time ranges. |
| src/…/overtime-overview.tsx | Explains overtime totals and approval states. |
| src/…/hiring-pipeline.tsx | Explains the candidate journey from application to offer. |