π§βπ« Week 05 Lecture
Data Visualisation with the Grammar-of-Graphics
π₯
Learning Goals
By the end of this lecture, you should be able to: i) Understand the core principles of the Grammar of Graphics, ii) Create effective visualisations using lets-plot, iii) Apply data visualisation best practices to your Mini-Project, iv) Use new Pandas techniques for data manipulation.

πTime and Location: Tuesday, 20 February 2025 from 4-6 pm at MAR.1.04
This weekβs lecture will focus on data visualisation principles and practical implementation using lets-plot
, with specific emphasis on techniques youβll need for the Mini-Project.
π Interactive Lecture Format
During this lecture:
- First Hour: Live demonstration of the Grammar of Graphics using
lets-plot
- Second Hour: Mini-Project support and introduction to new Pandas techniques (ideally, guided by your questions so please come with questions!)
- The focus will be on practical implementation - no slides, just coding
- Donβt worry if you canβt follow along with the code. Make sure to take notes on the key concepts and techniques discussed (you can save them to your βWeek 05β folder on
Nuvolos)
π Preparation
Before the lecture
- Review the βοΈ Mini-Project I requirements
- Start working on your project to have specific questions ready
- If you want to experiment with something Iβll show in the lecture, make sure you can access
Nuvolos
π¬ Lecture Material
The lecture will be based on two Jupyter notebooks that will be shared after the session:
W05-Lecture-NB01-Grammar-of-Graphics.ipynb
: Fundamentals (and the why) of data visualisation usinglets-plot
W05-Lecture-NB02-Pandas-Tricks.ipynb
: Useful data manipulation techniques for the Mini-Project
π TAKE NOTE:
- There wonβt be traditional slides for this lecture
- The focus is on practical implementation and problem-solving
- Feel free to ask questions at any point, especially during the second hour
π₯ Post-Lecture Actions
- Review the Jupyter notebooks from todayβs lecture
- Practice creating visualisations with
lets-plot
- Apply the demonstrated techniques to your Mini-Project
- Use the
#help
channel on Slack if you need clarification or help
π Additional Resources
- π
lets-plot
Documentation - π Gallery of plots
- π OpenMeteo API Documentation