this generates the plot in figure - showcasing an almost random spread of data across weeks and average price with some slight concentration in the top left of the plot figure - scatter plot showing spread of data across purchase_week and price scatter plot also provides us the capability to visualize more than the basic dimensions we can plot third and fourth dimensions using color and size the following snippet helps us understand the spread with color denoting the user_class while size of the bubble indicates number of transaction bubble_df plot scatter( ='purchase_week' ='price' =bubble_df['enc_uclass'] =bubble_df['total_transactions']* plt title('purchase week vs price per user class based on tx'