- All Courses
- Python Foundations for Data Work
- Analysing Data with pandas
- Plotting results
Lesson 4.3
Plotting results
The chart type follows the question.
22mBeginner14k students
Overview
The chart is an argument
The chart type follows the question. Comparing categories is a bar chart, showing change over time is a line, and showing a relationship between two measures is a scatter. A pie chart answers almost nothing.
Unlabelled axes are the most common flaw in analysis output. A reader who cannot tell whether the y axis is counts or percentages cannot evaluate your conclusion.
Save figures at an explicit size and resolution. A chart that looks fine in a notebook is frequently unreadable when pasted into a document.
In this lesson you will:
- Pick a chart type that fits the question
- Label axes and units
- Export a figure at a usable size
Resources
Notes are not saved yet — they clear when you leave this page.
Previous Lesson
Filtering, grouping, and aggregation
27m