Skip to content

Zero and missing

wrongtableshybridTufte 2001 p. 145Tufte 1997 p. 47Few 2012 p. 310Few 2012 p. 310Jenkinson 1949 p. 246Jenkinson 1949 p. 246Jenkinson 1949 p. 246Miller 2013 p. 52Miller 2013 p. 87Miller 2013 p. 83Aigner 2023 p. 269Aigner 2023 p. 359Aigner 2023 p. 232

How do zero lunch bills and a missing day differ?

Plotly Express Tips dataset. Monday has no observations.

“the plain dots register a zero reading”

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

Also covered in Tufte 2001 (7 Multifunctioning Graphical Elements, p. 145), Tufte 1997 (2 Visual and Statistical Thinking: Displays of Evidence for Making Decisions, p. 47), Few 2012 (Appendix A Table and Graph Design at a Glance, p. 310), Few 2012 (Appendix A Table and Graph Design at a Glance, p. 310), Jenkinson 1949 (14 The Field, p. 246), Jenkinson 1949 (14 The Field, p. 246), Jenkinson 1949 (14 The Field, p. 246), Miller 2013 (4 Five More Technical Principles, p. 52), Miller 2013 (5 Creating Effective Tables, p. 87), Miller 2013 (5 Creating Effective Tables, p. 83), Aigner 2023 (Appendix A Survey of Visualization Techniques, p. 269), Aigner 2023 (Appendix A Survey of Visualization Techniques, p. 359), Aigner 2023 (Appendix A Survey of Visualization Techniques, p. 232).

CVD preview

Before

The bars leave empty spaces for both Sunday and Monday, although the reasons differ.

Download before Python code

After

A diamond marks an observed zero on Sunday. Monday has a label for a missing observation.

Download after Python code

Values

Thursday had 61 lunch bills and Sunday had zero. No count is available for Monday.

Values used in both charts
DayLunch bills
Thur61
Fri7
Sat0
Sun0
MonMissing