Correct answer: D
Create an aggregated dataset by using the Pandas GroupBy function to get average
sales for each year for each region Create a bar plot, faceted by year, of average sales for
each region Add a horizontal line in each facet to represent average sales.
Explanation
Explanation: The best visualization for this task is to create a bar plot, faceted by year, of
average sales for each region and add a horizontal line in each facet to represent average
sales. This way, the data scientist can easily compare the yearly average sales for each
region with the overall average sales and see the trends over time. The bar plot also allows
the data scientist to see the relative performance of each region within each year and
across years. The other options are less effective because they either do not show the
yearly trends, do not show the overall average sales, or do not group the data by region.