Matplotlib / Pandas Practice
- Leo Oryn
- Aug 2, 2024
- 1 min read
Updated: Aug 5, 2024
The last CFG session of last week focused on combining everything we learnt over the past week. We were given 2 challenges that prompted us to think about how we could use what we learnt to visualise the data we had access to.
Challenge one: Use company sales data to fetch profit for all months and show it using a line plot.

My downfall for the first challenge was not loading the data dynamically from the PDF as I did not install Pandas, I took this onboard and improved for the second challenge.
Challenge two: Use company sales data to fetch all product sales figures and show them using a multiline plot.


The improvement is clear in the above plot. I loaded the data dynamically using the Pandas PFD reader function, and I also added markers so the points are easier to view.
Being able to do little challenges like this really helps understand how to apply the techniques I have been learning to real world requests, such as reports and comparative visuals.