Chapter 3: Data Visualisation with plotnine

This chapter introduces the plotnine package for data visualisation in Python, based on the grammar of graphics.

1Introduction

2The grammar of graphics

3Exercise: Practice the grammar of graphics

4Customising plots

5Exercise: Practice customisation

6Combining Polars and plotnine

7Exercise: Practice combining Polars and plotnine

8Conclusion

About this course

These tutorials introduce Python for data wrangling with Polars and data visualisation with plotnine, using the grammar of graphics approach.

About me

Ph.D in Social and Experimental Psychology from the University Grenoble-Alpes, France. Now Assistant Professor of Business Research Methods at Dublin City University, my domain of expertise relies on multivariate time series analysis and trend extraction for supervised or unsupervised machine learning classification.