You are a data analyst for a logistics company. The company has a fleet of delivery trucks and tracks performance metrics including delivery time, fuel consumption, and distance traveled. Management wants a dashboard to monitor driver efficiency and identify underperforming drivers. You have access to a dataset with columns: DriverID, Date, RouteID, Distance (miles), FuelUsed (gallons), DeliveryTime (minutes). The dataset contains 10,000 records from the past year. You need to create a visualization that allows management to quickly compare the average fuel efficiency (miles per gallon) of drivers and also see how consistent each driver's efficiency is. Which of the following approaches is the best course of action?
A box plot shows median, quartiles, and outliers, allowing comparison of both central tendency and variability.
Why this answer
A box plot grouped by DriverID is the best choice because it simultaneously shows the central tendency (median MPG) and the spread (interquartile range and outliers) of each driver's fuel efficiency. This allows management to quickly compare average efficiency across drivers while also assessing consistency—drivers with narrow boxes are more consistent, while those with wide boxes or many outliers are erratic. The other options either fail to show distribution (bar chart, line chart) or require manual interpretation of consistency (scatter plot).
Exam trap
The trap here is that candidates often choose a bar chart (Option D) because it shows averages, but they overlook the requirement to also see consistency, which only a box plot or violin plot can provide in a single visualization.
How to eliminate wrong answers
Option A is wrong because a line chart with Date on the x-axis and MPG on the y-axis would show trends over time for each driver, but it does not directly compare average efficiency or consistency across drivers; it would be cluttered with 10,000 points and multiple lines, making it hard to assess overall performance. Option C is wrong because a scatter plot of Distance vs. FuelUsed color-coded by DriverID shows the relationship between distance and fuel consumption, but it does not directly display average MPG or the distribution of MPG per driver; consistency would require visual inspection of point clusters, which is inefficient for 10,000 records.
Option D is wrong because a bar chart showing only the average MPG for each driver omits information about consistency; management cannot see how variable each driver's efficiency is, which is a key requirement.