Skip to content

Redesign the bar chart

uglyamountshybridTufte 2001 p. 129Wilke 2019 p. 286Knaflic 2015 p. 76Few 2012 p. 249Few 2012 p. 249Few 2012 p. 316

Which day had the highest median tip?

Plotly Express Tips dataset.

“The box can be erased”

Edward Tufte, "The Visual Display of Quantitative Information", second edition, p. 129.

Also covered in Wilke 2019 (23 Balance the Data and the Context, p. 286), Knaflic 2015 (3 clutter is your enemy!, p. 76), Few 2012 (10 COMPONENT-LEVEL GRAPH DESIGN, p. 249), Few 2012 (10 COMPONENT-LEVEL GRAPH DESIGN, p. 249), Few 2012 (Appendix D Constructing Table Lens Displays in Excel, p. 316).

CVD preview

Before

Mirrored axis lines surround the bars with a box.

Download before Python code

After

The value scale and day labels are enough to read the bars. Sunday has the highest median tip.

Download after Python code

Values

The median tip was 3.15 dollars on Sunday and 2.305 dollars on Thursday.

Values used in both charts
DayMedian tip (USD)
Thur2.3049999999999997
Fri3
Sat2.75
Sun3.1500000000000004

Related rules