Get startedGet started for free

Visualizing the attrition differences

You've been using two quality of hire metrics to compare the recruiting channels. In addition to looking at the sales output of the hires, you are also looking at the attrition rates. Plot a bar chart again, but this time plot average attrition instead of sales quota attainment.

This exercise is part of the course

HR Analytics: Exploring Employee Data in R

View Course

Exercise instructions

The summarized data, avg_attrition, is available in your workspace.

  • Plot a bar chart from the avg_attrition data. Place the recruiting source on the x-axis and the average attrition on the y-axis.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Load ggplot2
library(ggplot2)

# Plot the bar chart

Edit and Run Code