What is the 'lie factor', and how can area-versus-radius or aspect-ratio choices distort perceived quantity?

Quick Overview

Asks what the lie factor of a chart is and how scaling bubbles by radius, stretching the aspect ratio or truncating an axis distorts how big a change looks. Tests honest visual encoding, the arithmetic behind the distortion and how marker size works in matplotlib and seaborn.

What is the 'lie factor', and how can area-versus-radius or aspect-ratio choices distort perceived quantity?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

What is the 'lie factor', and how can area-versus-radius or aspect-ratio choices distort perceived quantity? ```hint Put numbers on it Take two values, say 10 and 20, draw them as circles whose radius follows the value, and compare the relative change in what the eye sees with the relative change in the data. ``` ### What a Strong Answer Covers - The definition of the lie factor and how to read its value. - What goes wrong when circle radius follows the value, with the arithmetic, the correct encoding, and what matplotlib's `s` argument means. - How aspect ratio and axis ranges change perceived slopes and bar lengths. - Practical rules for honest encodings, including when position or length works better than area. ### Follow-up Questions - A bar chart's y-axis starts at 45 and shows values of 50 and 55. What is its lie factor? - Why is a non-zero baseline acceptable on a line chart but not on a bar chart? - Even with area-correct bubbles, readers misjudge the ratio between two values. Why, and what encoding would you use instead? - How does a pictogram that scales an icon's height, width and depth distort a comparison?

Overview: Asks what the lie factor of a chart is and how scaling bubbles by radius, stretching the aspect ratio or truncating an axis distorts how big a change looks. Tests honest visual encoding, the arithmetic behind the distortion and how marker size works in matplotlib and seaborn.

PracHub logo
General
Nov 25, 2026
mediumData ScientistOtherData Manipulation (SQL/Python)
0
0

What is the 'lie factor', and how can area-versus-radius or aspect-ratio choices distort perceived quantity?

What a Strong Answer Covers Guidance

  • The definition of the lie factor and how to read its value.
  • What goes wrong when circle radius follows the value, with the arithmetic, the correct encoding, and what matplotlib's s argument means.
  • How aspect ratio and axis ranges change perceived slopes and bar lengths.
  • Practical rules for honest encodings, including when position or length works better than area.

Follow-up Questions Guidance

  • A bar chart's y-axis starts at 45 and shows values of 50 and 55. What is its lie factor?
  • Why is a non-zero baseline acceptable on a line chart but not on a bar chart?
  • Even with area-correct bubbles, readers misjudge the ratio between two values. Why, and what encoding would you use instead?
  • How does a pictogram that scales an icon's height, width and depth distort a comparison?