Python Data Viz Libraries Compared
I'm teaching a course about the essential tools of Data Science. Among those, I'm going to cover how to use some of the most popular data visualization libraries in Python:
pandas
(yes, that's not a typo!),matplotlib
,seaborn
, andplotly.express
.I thought it be useful for my students to have cheat sheet with some popular graphs made with each of these tools. So I wrote this cheat sheet.
In the next sections, you'll learn how to set up your local environment, read the data, and get the code to make the following types of graphs:
- Line plot
- Grouped bars plot
- Stacked bars plot
- Area chart
- Pie/Donut chart
- Histogram
- Scatter plot
- Boxplot
Let me know what you think!
Source: Python Data Viz Libraries Compared: 8 Popular Graphs Made with pandas, matplotlib, seaborn, and plotly.express, an article by Dylan Castillo.