Question: Question 6 ( 2 0 marks ) You have a CSV file named phone _ sales _ 2 0 2 3 . csv containing sales

Question 6(20 marks)
You have a CSV file named phone_sales_2023.csv containing sales data for four phone brands: Samsung, iPhone, Xiaomi, and Huawei. Each row in the file includes the phone brand, subtype, purchase date, cost, and payment method. The purchase date is formatted as DD/MM/YYYY.
Generate a 2x2 grid of bar charts. Each chart represents a different phone brand and shows the sales for each subtype per month in 2023. Use different colours to distinguish between subtypes, position the legend outside the plot to avoid overlapping the bars and remove grid lines.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!