Data Tools · Module 3Module material
Matplotlib and data visualisation interview questions
8 questions interviewers ask on visualisation, from first principles to the follow-ups. The first 3 model answers are free to read; Pro opens the rest.
- When is a line plot appropriate?
When x has an intentional order, such as dates; connecting arbitrary shop-day scatter points suggests a false path.
- What is the difference between a Figure and an Axes?
The Figure is the canvas; an Axes is one plotting area inside it.
- Why label units?
A number such as 1,000 could mean dollars, customers or a score; units make the claim testable.
- When must a bar axis include zero?
- How can a histogram change without any data changing?
- What does seaborn's default
barplotshow? - Why inspect the exported image?
- What does
hueencode?