Interview's MateData Science
Interview's Mate

Data Science

Python → ML → MLOps

Visualizer

DSA Visualizer
All 32 lessons
Custom Playground
Try your own examples

Learning

System Design
31 architecture topics
SQL Learning
160 foundations → production topics
AI Engineering
160 LLM → backend topics
Data Science
160 Python → MLOps topics
Data Engineer
160 SQL → streaming topics
Docker
160 Docker learning topics
Kubernetes
160 K8s fundamentals → cloud
Java LearnSoon
Coming soon
Python Learn
Interview Q&A & internals
JavaScript Learn
Closures, async & DOM Q&A
Tech Learn
Search, practise & track Q&A
AI DSA Practice
Solve coding problems
Theme
Home
Data Science topics
Lesson 74/ 160
04. Data Visualization & BI

Avoiding Misleading Visuals & Chartjunk

Spot truncated axes, dual-axis tricks, and decoration that distorts the data story.

BeginnerAxis Integrity · Chartjunk3 quiz questions
Practice Generative AI Q&A
In plain wordsDiagramTheoryStep by stepWhen to use itInterview cluesMistakes to avoidQuiz (3)Practice

In plain words

Charts can fool people with tricks like cutting off the bottom of the axis or using two scales; honest charts show the real size of differences.

Think of it like…

A tape measure with the first 46 inches cut off: two boards of 52 and 48 inches would look like 6 versus 2, and every reading would be technically correct but visually false.

Where you’ve seen it

A slide compares two landing pages: A converts at 52% and B at 48%. The bar chart's y axis starts at 46%, so bar A is 6 units tall and bar B is 2, a 3-to-1 visual ratio for what is really 52 / 48 = 1.083. Tufte's lie factor: the effect shown is (6 − 2) / 2 = 200%, the effect in the data is (52 − 48) / 48 = 8.3%, so the lie factor is 200 / 8.3 ≈ 24 (anything outside roughly 0.95 to 1.05 is considered distorted). Starting the axis at zero shows two bars of almost equal height, and the honest conclusion becomes "A is slightly ahead; the difference needs a significance test". A second slide shows revenue and ad spend on dual axes with scales chosen so the lines overlap, implying a tight relationship that disappears when both are shown as indexed values on one axis.

Words you’ll hear

Truncated axis
A y axis that doesn't start at zero, exaggerating differences in bar charts.
Lie factor
Effect size shown in the graphic ÷ effect size in the data; 1 is honest.
Data-ink ratio
Share of a chart's ink that presents data rather than decoration.
Chartjunk
Non-informative decoration that distracts from the data.

Visual diagram

Loading interactive diagram

Theory & deep dive

How charts mislead

Truncated axes: bar length encodes value, so a bar chart must start at zero; line charts may use a non-zero range when changes, not levels, matter, but the range should be labelled and sensible. Dual axes let the author pick two scales so unrelated lines appear to move together; prefer two panels, indexed series (both set to 100 at the start) or a scatter plot. Area and volume: a bubble or pictogram scaled by radius or by height-and-width shows four times the area when the value doubles; scale by area (radius ∝ √value) and avoid 3D, where perspective changes the apparent size of bars and slices. Pie charts with many slices or slices that don't sum to 100% invite misreading.

Selective framing: a window that starts at a low point (revenue up 12% over five months while flat over 24), a baseline chosen to flatter, omitting the denominator (counts instead of rates) or an unlabelled log scale. Cumulative charts rise monotonically and hide a slowing rate of growth. Inconsistent scales across small multiples exaggerate or hide variation (sometimes intended, but state it). Misleading aggregation: averages that hide bimodality, percentages with tiny denominators, and unmentioned missing data. Finally, implied causation: two lines on one chart with a title like "Ads drive sales" asserts what the picture cannot prove.

Lie factor

Data: 52% vs 48%, an 8.3% relative difference. Chart with axis starting at 46: bar heights 6 and 2, a 200% visual difference. Lie factor = 200 / 8.3 ≈ 24. With a zero baseline the heights are 52 and 48 and the lie factor is 1.

Key takeaway: Bars start at zero, avoid dual axes and area distortion, show the full context and don't imply causation.

Chartjunk, data-ink and sensible polish

Tufte's data-ink ratio says to maximise the share of ink that encodes data: remove 3D effects, heavy borders, gradients, background images, redundant gridlines and legends that repeat labels, and let direct labels, light grey grid lines and one accent colour do the work. Common clutter includes rainbow fills, shadows, tick marks on every value and decorative icons replacing bars. But minimalism isn't a dogma: research on "embellished" charts shows some decoration can improve memorability, and annotations, reference lines and highlighted points are not junk because they carry meaning. The test is whether an element helps the viewer understand or remember the data.

A practical review checklist before sharing: (1) Does every bar start at zero? (2) Is the time window honest and stated? (3) Is each axis labelled with units, and is any log or dual axis explained? (4) Are encodings length or position rather than area or volume? (5) Are denominators and sample sizes visible (n = 40 conversions is not n = 4,000)? (6) Does the title state a claim the chart supports? (7) Are colours consistent and accessible? (8) Is the source noted? Have someone else read the chart cold and say the takeaway; if it differs from yours, the chart (not the reader) needs fixing.

Decluttering

Before: 3D columns, a gradient background, a full grid and a legend. After: flat bars from zero, light horizontal grid lines, direct value labels and one highlighted bar. The same data is easier to read and the lie factor is back to 1.

Key takeaway: Remove decoration that doesn't inform, keep meaningful annotation and use a checklist before sharing.

How it works, step by step

Step 1 of 4
Reviewer

1. Check the axes

Confirm bars start at zero, line ranges are sensible, scales are labelled and dual axes are avoided.

52% vs 48%: axis from 0, not 46
Key numbers at this step
Lie factor
≈ 1

When to use it & trade-offs

What it is

A chart is misleading when the picture implies a bigger, smaller or different effect than the data supports. The usual culprits are truncated axes on bar charts, dual axes scaled to force a visual correlation, area and volume encodings that exaggerate (3D bars, bubbles scaled by radius), cherry-picked time windows, cumulative lines that hide a slowdown and inconsistent scales between panels. Chartjunk is decoration that adds no information and competes with the data: heavy gridlines, gradients, 3D effects, redundant legends and clip art. Edward Tufte's lie factor (size of effect shown in the graphic divided by the size of the effect in the data) and data-ink ratio give measurable ways to judge both.

Why it matters: Analysts are trusted to show data fairly, and visuals travel without the author: a screenshot in a slide deck or an executive email is read in seconds with no caveats. A distorted chart can drive a bad decision or destroy credibility the first time someone checks the numbers. Reviewing charts for integrity is as important as reviewing code, and it is a common interview topic.

When to reach for it

  • Reviewing slides and dashboards before they circulate
  • Training analysts and reviewers
  • Explaining why a chart was rejected

When to avoid or be careful

  • Non-zero baselines on bar charts
  • Dual axes chosen to force overlap
  • Cherry-picked time windows

Common distortions and fixes

Truncated bar axis
Best for: Fix: start bars at zero or switch to a dot plot

Strengths: Visual length matches value.

Watch out: Small differences look small, which is the honest outcome.

Dual-axis line chart
Best for: Fix: indexed series, small multiples or scatter

Strengths: Removes arbitrary scale alignment.

Watch out: Takes more space.

3D or radius-scaled shapes
Best for: Fix: flat bars or area-scaled symbols

Strengths: Comparable lengths and areas.

Watch out: Less flashy.

Interview signals & numbers to know

When this topic comes up

  • “This chart makes a tiny difference look huge”
  • “Why are there two y axes?”
  • Lie factor
  • Data-ink ratio
  • Cumulative versus rate charts

Benchmarks & rules of thumb

≈ 24 -
lie factor of the 52% vs 48% truncated chart
1.083 -
true ratio of 52 to 48
0.95 – 1.05 -
range in which a lie factor is acceptable

Common mistakes & follow-ups

Common interview mistakes

  • Using a non-zero baseline for bars because the bars looked too similar.
  • Showing cumulative sales and calling growth strong when the rate is falling.
  • Adding a causal title to two lines that happen to move together.

Likely interviewer follow-ups

  • Why must bar charts start at zero?
  • What is wrong with dual-axis charts?
  • How do you recognise chartjunk?
Interview tip: Compute the lie factor out loud. It turns a vague "that looks misleading" into a number a stakeholder can verify.

Knowledge check

Loading quiz

Put it into practice

Practice related interview Q&A

Apply Avoiding Misleading Visuals & Chartjunk with data science interview Q&A and hands-on practice.

Open Data Science Q&A →Machine Learning Q&A
Previous topic
Color Theory & Accessibility in Charts
Next topic
Cohort & Funnel Analysis Charts