1
Set the matplotlib backend to Agg before importing pyplot
2
Use plt.subplots(2, 2, figsize=...) to create a 2x2 grid of axes
3
Top-left: bar chart of total revenue per product
4
Top-right: line chart of daily total revenue over time
5
Bottom-left: pie chart of revenue split by payment method
6
Bottom-right: histogram of individual transaction Revenue values
7
Each subplot needs its own title and appropriate axis labels
9
Save the entire dashboard as dashboard.png