Session Ready
Exercise

Genre by market

A view of your sales data that covers movie_genre performance in each theater_location has been created for you as genre_market_totals. Feel free to use the .head() method to explore it in your console.

This table is a great opportunity to use the hue parameter of sns.barplot() to investigate the performance of each movie genre across each market, or theater_location.

Instructions
100 XP
  • Create a bar plot of genre_market_totals with theater_location on the x-axis, revenue on the y-axis, and hue broken down by movie_genre.
  • Add the title Genre Performance by Market, as well as the x- and y-axis labels as Market and Revenue (USD), respectively.