LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

HR Analytics: Exploring Employee Data in R

Kurs anzeigen

Anleitung zur Übung

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

  • Load the ggplot2 package (dplyr is already loaded).
  • Using ggplot(), plot a bar chart from the avg_sales data. Place the recruiting source on the x-axis and avg_sales_quota_pct on the y-axis.

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Load the ggplot2 package
___

# Plot the bar chart
___
Code bearbeiten und ausführen