Using a language of graphics, you will learn how to construct data visualizations using Python’s ggplot package throughout this course. A language of graphics is a powerful tool that streamlines the process of producing data plots in a manner that is both consistent and effective. It abstracts the majority of the low-level information, which enables you to concentrate on developing useful and appealing representations for your data.
A graphics grammar may be obtained via the use of a number of different Python programs. As plotnine is one of the most developed ones, it will be the primary focus of this class. plotnine is derived from the ggplot2 package that is part of the R programming language. If you are familiar with R, then you can think of plotnine as the R programming language’s counterpart to Python’s ggplot2 package. You will acquire the knowledge and skills necessary to:
-
Install
plotnine
and
Jupyter Notebook
-
Combine the different elements of the
grammar of graphics
-
Use plotnine to
create visualizations
in an efficient and consistent way -
Export
your data visualizations to files
This course will presume that you have prior experience working with Python and at least some familiarity with Jupyter Notebook and pandas. Check read the articles titled “Jupyter Notebook: An Introduction” and “Using Pandas and Python to Examine Your Dataset” to come up to speed on the aforementioned subjects.