Visualizing the sales performance differences
The last step in the HR analytics process is to test and plot the results. For now, you'll focus on visualizing the data from the previous exercises. You'll be making a bar chart so you can more easily see the average sales quota attainment for each recruiting channel.
Deze oefening maakt deel uit van de cursus
HR Analytics: Exploring Employee Data in R
Oefeninstructies
The summarized data, avg_sales, is available in your workspace.
- Load the
ggplot2package (dplyris already loaded). - Using
ggplot(), plot a bar chart from theavg_salesdata. Place the recruiting source on the x-axis andavg_sales_quota_pcton the y-axis.
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Load the ggplot2 package
___
# Plot the bar chart
___