Charts track
Charts with matplotlib & Seaborn
Learn to draw charts from zero: 40 very easy Beginner steps, then 33 Intermediate and 33 Advanced that build on them.
Start at step 1. Each idea prepares you for the next one.
- 1Bring in matplotlib
- 2Draw line and bar charts
- 3Add titles and labels
- 4Draw charts with Seaborn
- 5Put many charts on one page
- 6Colour by group
- 7Make heatmaps and trend lines
- 8Build a dashboard and save it
Continue where you left off
Beginner 1: What is a chart?
11 questions remaining in this sector
Your datasets, exercises and portfolio outputs stay inside the sector you choose.
Beginner · Matplotlib & Charts
4 exercises — finish them all to earn a certificate
4 questions left to earn this certificate
Beginner 1: What is a chart?
+20 XPYou are a data analyst in the Finance team. A chart is a picture of numbers. Tall means big, short means small. Just press Check.
Beginner 11: Add a title
+20 XPYou are a data analyst in the Finance team. A title tells people what the chart is about.
Beginner 21: Dashed line
+20 XPYou are a data analyst in the Finance team. linestyle="--" makes a dashed line.
Beginner 31: Make a table first
+20 XPYou are a data analyst in the Finance team. Seaborn likes a table (DataFrame) with named columns.
Intermediate · Matplotlib & Multiple Lines
4 exercises — finish them all to earn a certificate
4 questions left to earn this certificate
Intermediate 1: Two lines on one chart
+20 XPYou are a data analyst in the Finance team. Builds on Beginner 9 (Show the picture). Call plot twice to compare two lines.
Intermediate 11: Axis titles the ax way
+20 XPYou are a data analyst in the Finance team. Builds on Beginner 9 (Show the picture). ax.set_title and ax.set_xlabel name an ax chart.
Intermediate 21: Violin plot
+20 XPYou are a data analyst in the Finance team. Builds on Beginner 31 (Make a table first). A violin is a box plot shaped by where values bunch up.
Intermediate 31: Group then chart
+20 XPYou are a data analyst in the Finance team. Builds on Beginner 31 (Make a table first). Add up per group first, then draw.
Advanced · Seaborn & Sns.Regplot
3 exercises — finish them all to earn a certificate
3 questions left to earn this certificate
Advanced 8: Trend line
+20 XPYou are a data analyst in the Finance team. Builds on Beginner 30 (Bring in Seaborn). regplot adds a straight best-fit line through the dots.
Advanced 18: Easy despine
+20 XPYou are a data analyst in the Finance team. Builds on Beginner 30 (Bring in Seaborn). sns.despine() hides the top and right edges for you.
Advanced 28: Your own palette
+20 XPYou are a data analyst in the Finance team. Builds on Beginner 32 (Seaborn bar chart). Make your own list of colours.