How can charts mislead during EDA (truncated axes, bad scales, cherry-picked bins), and how do you avoid it?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
What are some common ways visuals can be misleading (truncated axes, inappropriate scales, cherry-picked bins), and how do you avoid fooling yourself or others during exploratory data analysis (EDA)?
```hint Look at the encoding
For each chart type, ask which visual property the reader compares (bar length, position, slope, area) and which axis, scale or binning choice would change that property without changing the data.
```
```hint Fooling yourself
Think about the choices you make after you have already seen the data, and how you would check that a pattern survives a different choice.
```
### What a Strong Answer Covers
- Specific distortions with the reason each one misleads: truncated value axes, a scale that does not match the data, dual axes, bin width and time-window choice, area and aspect-ratio encoding
- Concrete practices for honest charts, including when a rule such as the zero baseline applies and when it does not
- How an analyst fools themselves during EDA by trying many views, and the checks that guard against it
- Cross-checking what a chart appears to show against summary statistics or the underlying rows
### Follow-up Questions
- When is it fine for a y-axis not to start at zero?
- How would you pick a histogram bin width, and what does an ECDF show that a histogram can hide?
- A stakeholder shows a dual-axis chart where revenue and ad spend move together. What would you check before accepting that they are related?
- You sliced a metric by 30 segments during EDA and two look unusual. How do you decide whether to report them?
Overview: Asks how charts can mislead during exploratory data analysis, including truncated axes, mismatched scales, dual axes and cherry-picked histogram bins. Tests whether you can explain why each distortion works and which habits keep you and your audience from drawing false conclusions.