42
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License . Your use of this material constitutes acceptance of that license and the conditions of use of materials on this site. Copyright 2006, The Johns Hopkins University and Karl W. Broman. All rights reserved. Use of these materials permitted only in accordance with license rights granted. Materials provided “AS IS”; no representations or warranties provided. User assumes all responsibility for use, and all liability related thereto, and must independently review all materials for accuracy and efficacy. May contain materials owned by others. User is responsible for obtaining permissions for use from third parties as needed.

This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. Your use of this material constitutes acceptance of that license and the conditions of use of materials on this site.

Copyright 2006, The Johns Hopkins University and Karl W. Broman. All rights reserved. Use of these materials permitted only in accordance with license rights granted. Materials provided “AS IS”; no representations or warranties provided. User assumes all responsibility for use, and all liability related thereto, and must independently review all materials for accuracy and efficacy. May contain materials owned by others. User is responsible for obtaining permissions for use from third parties as needed.

Page 2: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

How to display data badly

Karl W. BromanDepartment of Biostatistics

http://www.biostat.jhsph.edu/~kbroman

Page 3: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

Using Microsoft Excel to obscure your data and annoy your readers

Karl W BromanDepartment of Biostatistics

http://www.biostat.jhsph.edu/~kbroman

Page 4: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

4

Inspiration

This lecture was inspired by

H Wainer (1984) How to display data badly. American Statistician 38(2):137-147

Dr. Wainer was the first to elucidate the principles of the bad display of data.

The now widespread use of Microsoft Excel has resulted in remarkable advances in the field.

Page 5: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

5

General principles

The aim of good data graphics:Display data accurately and clearly.

Some rules for displaying data badly:– Display as little information as possible.– Obscure what you do show (with chart junk).– Use pseudo-3d and color gratuitously.– Make a pie chart (preferably in color and 3d).– Use a poorly chosen scale.– Ignore sig figs.

Page 6: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

6

Example 1

Page 7: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

7

Example 1

Page 8: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

8

Example 1

Page 9: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

9

Example 1

Page 10: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

10

Example 1

Page 11: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

11

Example 1

Page 12: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

12

Example 1

Page 13: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

13

Example 1

Page 14: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

14

Example 2

Distribution of genotypes

AA 21%AB 48%BB 22%missing 9%

Page 15: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

15

Example 2

Page 16: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

16

Example 2

Page 17: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

17

Example 2

Page 18: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

18

Example 2

Page 19: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

19

Example 2

Page 20: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

20

Example 3

Page 21: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

21

Example 3

Page 22: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

22

Example 3

Page 23: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

23

Example 3

Page 24: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

24

Example 4

Page 25: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

25

Example 4

Page 26: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

26

Example 4

Page 27: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

27

Example 5

Page 28: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

28

Example 5

Page 29: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

29

Example 5

Page 30: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

30

Example 5

Page 31: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

31

Example 5

Page 32: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

32

Example 5

Page 33: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

33

Example 6

Page 34: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

34

Example 6

Page 35: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

35

Example 6

Page 36: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

36

Example 6

Page 37: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

37

Example 7

Page 38: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

38

Example 7

Page 39: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

39

Example 8

Page 40: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

40

Example 8

Page 41: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

41

Displaying data well

• Be accurate and clear.

• Let the data speak.– Show as much information as possible, taking

care not to obscure the message.

• Science not sales.– Avoid unnecessary frills — esp. gratuitous 3d.

• In tables, every digit should be meaningful. Don’t drop ending 0’s.

Page 42: This work is licensed under a Creative Commons …...• ER Tufte (1983) The visual display of quantitative information. Graphics Press. • ER Tufte (1990) Envisioning information

42

Further reading

• ER Tufte (1983) The visual display of quantitative information. Graphics Press.

• ER Tufte (1990) Envisioning information. Graphics Press.

• ER Tufte (1997) Visual explanations. Graphics Press.

• WS Cleveland (1993) Visualizing data. Hobart Press.

• WS Cleveland (1994) The elements of graphing data. CRC Press.