+ All Categories
Home > Documents > Common visualization Issues & how to fix...

Common visualization Issues & how to fix...

Date post: 14-Jul-2020
Category:
Upload: others
View: 6 times
Download: 0 times
Share this document with a friend
64
http://poloclub.gatech.edu/cse6242 CSE6242 / CX4242: Data & Visual Analytics Common visualization Issues & how to fix them Duen Horng (Polo) Chau Assistant Professor Associate Director, MS Analytics Georgia Tech Partly based on materials by Professors Guy Lebanon, Jeffrey Heer, John Stasko, Christos Faloutsos
Transcript
Page 1: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

http://poloclub.gatech.edu/cse6242CSE6242 / CX4242: Data & Visual Analytics

Common visualization Issues &how to fix them

Duen Horng (Polo) Chau Assistant ProfessorAssociate Director, MS AnalyticsGeorgia Tech

Partly based on materials by Professors Guy Lebanon, Jeffrey Heer, John Stasko, Christos Faloutsos

Page 2: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

2

Student of Edward Tufte

http://a.co/6BhlPfZ

Page 3: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

3

Edward TufteAn American statistician and professor emeritus of political science, statistics, and computer science at Yale University.

He is noted for his writings on information design and as a pioneer in the field of data visualization.

-Wikipedia

Page 4: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

Also Highly Recommended:

Page 5: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

5Can you improve its visual design?

Page 6: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

6Which is better?

Page 7: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

7

What can you improve?

Tables

Page 8: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

What’s the problem with making everything

bold or italic?

Page 9: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

https://youtu.be/1E9pKU_N15A?t=45s

Page 10: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

“When everyone is super, no one is super”

https://youtu.be/1E9pKU_N15A?t=45s

Page 11: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

When everyone is special, no one is!

10

Page 12: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

11

Page 13: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

11

A lot of “chart junk”. Low “data to ink” ratio (Edward Tufte)

Page 14: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

12Higher “data to ink” ratio

Page 15: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

13

Problems?

Page 16: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

14

Page 17: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

15

The color scheme reminds you of what?

Bar Charts

Page 18: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

16

Better than Christmas(Use color brewer to find good color schemes)

Page 19: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

17

Company Profits

Page 20: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

17

Don’t show profits in red!!Think carefully about your color choices.

Company Profits

Page 21: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

18

Page 22: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

19

Page 23: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

19

Misleading Bar Charts

Page 24: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

20

Vertical axis of bar charts should start at 0, almost always

Page 25: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

21

Disorienting color bars

Page 26: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

22

Use gradation

Page 27: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

23

Page 28: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

23

Avoid Tilted or Rotated Labels

Page 29: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

24

Bars Can be Horizontal

Page 30: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

24

Bars Can be Horizontal

When labels are hard to read, try horizontal layout. Don’t settle for the default.

Page 31: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

25http://www.apple.com/imac/performance/

Page 32: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

26

Line Charts (a.k.a. fever lines)

Can you improve the tick labels?

Page 33: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

27

Use ticks at common intervals (e.g., 2, 5, 10, etc.)

Page 34: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

28

Note y-axis does not need to start at 0. Why not as bad as in the case of bar chart?

Too flat or too steep?

Page 35: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

29

Rule of Thumb

Page 36: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

30

Multiple Patterned Lines in one chart

Page 37: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

31

Better? Note the “double encoding” of line width and brightness.

What if you have many lines you want to show?

Page 38: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

32

“Small Multiple” - Edward Tufte Better than overlapping (sometimes)

“a series or grid of small similar graphics or charts, allowing them to be easily compared”

Page 39: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

33

The Dreaded Pie Charts

Why people like to use pie charts?

Page 40: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

34http://www.wired.com/2008/02/macworlds-iphon/

Page 41: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

35http://flowingdata.com/2012/06/15/what-3-d-pie-charts-are-good-for/

Page 42: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

36http://wonkette.com/412361/all-193-of-republicans-support-palin-romney-and-huckabee

Page 43: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

37

Page 44: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

38http://infosthetics.com/archives/2008/09/funniest_pie_chart_ever.html

Page 45: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

Log scale instead of linear scale Include numbers from different orders of magnitude

39

Page 46: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

40

Example

log-log

Page 47: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

41

Example“log” also works well for time

Page 48: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

In-class Exercise.Applying what you have just learned.

42

Page 49: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

How to fix the defaults

43http://www.darkhorseanalytics.com/blog/clear-off-the-table

Page 50: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

How to fix the defaults

43http://www.darkhorseanalytics.com/blog/clear-off-the-table

Page 51: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

Great Work destroyed by Poor Presentation

Bad color schemesBad, tiny fontsToo much animationToo much data

44

100 times faster!

http://www.youtube.com/watch?v=lpvgfmEU2Ck&feature=player_embeddedDon McMillan: Life After Death by PowerPoint

can you read this?

Page 52: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

Practitioners’ GuideColors: start with black & white Forces you to focus on content and layout

Then add colors, carefully

Fonts: sans-serif generally easier to read On Mac: Helvetica is great start On Windows: Arial?

Animation: start with no animation, then add meaningful ones45

Page 53: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

Practitioners’ Guide: Use Pictures and Videos

“Pictures” include tables, diagrams, charts, etc.• Pictures often more succinct & memorable• People like pictures and love movies

46

And show them ASAP! Once people fall asleep, it’s hard to wake them up!

If you have good stuff, show them now.

Page 54: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

47

Example

Page 55: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

Practitioners’ Guide: Additional Tips for PhD students / Researchers

Crown-jewel pictures are important

• Overview of what readers is going to get — cut to the chase

• People skim and look at “interesting” things first

• Reviewers are busy and sleepy 😴 (read 5-10 papers per conference) — it’s refreshing to read an interesting paper

How to do it?• Use your most impressive figure

• Can be similar to another shown later

48

Page 56: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

Figures should be self-contained.

49

Page 57: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

50http://www.cs.cmu.edu/~dchau/polonium_sdm2011.pdf

Example

Page 58: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

Figures should be self-containedWhy?• Don’t make people go back

and forth between text & figure

• Bad figures means bad first impression (reject!)

How to fix?• Succinctly describe your

main (take-away) messages

51

Page 59: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

52

Example

Page 60: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

Use legible fonts.

53

Page 61: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

For printed materials, print them out and check!Rule of thumb: about 7 lines of text on a slide.

54

If people can’t see it, they won’t appreciate it.

Page 62: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

Apple UI Design Guidelines

55https://developer.apple.com/design/tips/

Page 63: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

56

Example

Page 64: Common visualization Issues & how to fix thempoloclub.gatech.edu/cse6242/2017fall/slides/CSE6242-510-VisFix.pdf3 Edward Tufte An American statistician and professor emeritus of political

Higher is better.Apolo wins.

* Statistically significant, by two-tailed t test, p <0.05

Judges’ Scores

0

8

16

Model-based

*Prototyping *Average

Apolo Scholar

Score

Example


Recommended