AI & Agents · Employee Attrition

Exploratory Data Analysis — Workforce Attrition Patterns

Attrition by Marital Status
% of leavers per group
Single
25.5%
Married
12.5%
Divorced
10.1%
Single employees leave at 2.5× the rate of their married peers
Age Distribution by Attrition Status
Density across employee age range
Age (years) — 20 to 60
Ex-Employees (left)
Active Employees
Leavers peak earlier (~28–30) vs active staff who peak at ~35
Attrition Distribution
Total workforce count
1,233
237
Stayed Left
16.1% attrition rate — imbalanced dataset requires AUC evaluation