lecture 06: design ii february 5, 2013 comp 150-2 visualization

77
Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Upload: casandra-lion

Post on 31-Mar-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Lecture 06:

Design II

February 5, 2013

COMP 150-2Visualization

Page 2: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Admin

• A2: No need to handle negative values

• Go over the bit shifting and bit masking examples in backbuffer isect example

• Meeting with your TA before the due date of the next assignment!• Liz announcement

• EC1 graded

• Design Lecture by Dan Kass

Page 3: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Edward Tufte

• “The Visual Display of Quantitative Information”• Self-published book

• Evangelist for good visual design

• Most designs are static, but many principles apply to interactive (computer-based) visualization designs

• Take these design guidelines with a grain of salt

Page 4: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Graphical Excellence

• Tufte’s Principles of Graphical Excellence1. Graphical excellence is the well-designed

presentation of interesting data – a matter of substance, of statistics, and of design.

Page 5: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Graphical Excellence

• Tufte’s Principles of Graphical Excellence1. Graphical excellence is the well-designed

presentation of interesting data – a matter of substance, of statistics, and of design.

2. Graphical excellence consists of complex ideas communicated with clarity, precision, and efficiency.

Page 6: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Graphical Excellence

• Tufte’s Principles of Graphical Excellence1. Graphical excellence is the well-designed

presentation of interesting data – a matter of substance, of statistics, and of design.

2. Graphical excellence consists of complex ideas communicated with clarity, precision, and efficiency.

3. Graphical excellence is that which gives to the viewer the greatest number of ideas in the shortest time with the least ink the smallest place.

Page 7: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Graphical Excellence

• Tufte’s Principles of Graphical Excellence1. Graphical excellence is the well-designed

presentation of interesting data – a matter of substance, of statistics, and of design.

2. Graphical excellence consists of complex ideas communicated with clarity, precision, and efficiency.

3. Graphical excellence is that which gives to the viewer the greatest number of ideas in the shortest time with the least ink the smallest place.

4. Graphical excellence is nearly always multivariate

Page 8: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Graphical Excellence

• Tufte’s Principles of Graphical Excellence1. Graphical excellence is the well-designed presentation of

interesting data – a matter of substance, of statistics, and of design.

2. Graphical excellence consists of complex ideas communicated with clarity, precision, and efficiency.

3. Graphical excellence is that which gives to the viewer the greatest number of ideas in the shortest time with the least ink the smallest place.

4. Graphical excellence is nearly always multivariate5. And graphical excellence requires telling the truth about the

data.

Page 9: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Napoleon’s March to Moscow

Page 10: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Minard’s Map ofNapoleon’s March to Moscow

Page 11: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Graphical Integrity

• “Above all else show the data”

Page 12: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

The Lie Factor

• Tufte coined the term “the lie factor”, which is defined as:

• Lie_factor =

• “High” lie factor (LF) leads to:• Exaggeration of differences or similarities• Deception• Misinterpretation

Page 13: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

The Lie Factor

• The Lie Factor (LF) can be • LF > 1• LF < 1

• If LF is > 1, then size of graphic is greater than the size of data• This leads to exaggeration of the data (overstating the data)

• If LF < 1, then the size of the data is greater than the graphic• This leads to hiding the of data (understating the data)

Page 14: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

What’s Wrong With This?

• US Department of Transportation had set a series of fuel economy standards to be met by automobile manufacturers, beginning with 18 miles per gallon in 1978 and moving in steps up to 27.5 by 1985.

Page 15: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

What’s Wrong With This?

This line represents 18 miles per gallon in 1976, is 0.6 inches long

This line represents 27.5 miles per gallon in 1985, is 5.3 inches long

Page 16: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

What’s Wrong With This?

• The increase in real data between 1978 to 1985 (from 18 MPG to 27.5 MPG) is:

• The difference in length between 1978 to 1985 (from 0.6 inches to 5.3 inches) is:

• Lie Factor is:

Page 17: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Similarly

• This design contains a lie factor of 9.4

Page 18: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Similarly

• This design contains a lie factor of 9.5

Page 19: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Other Ways To Lie(with the legend)

Page 20: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Other Ways To Lie(with the encoding)

Page 21: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Other Ways To Lie(with the design variation)

Page 22: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Other Ways To Lie(with the design variation)

• Beware of the “3D” effect. It distorts the telling of the data. • There are five vertical scales here:

• 1073-1978:• 1 inch = $8.00

• Jan-Mar:• 1 inch = $4.73

• Apr – Jun• 1 inch = $4.37

• Jul – Sep• 1 inch = $4.16

• Oct – Dec• 1 inch = $3.92

• And two horizontal scales:• 1973-1978:

• 1 inch = 3.8 years

• 1979• 1 inch = 0.57 years

Page 23: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Other Ways To Lie(with the design variation)

• The 3D chart capability in Excel:

Page 24: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Other Ways To Lie(with double-encoding, e.g. size)

• Here, both width and height encode the same information. The effect is multiplicative.

• 0.44 (width) * 0.44 (height) = 0.19

Page 25: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Other Ways To Lie(with unintended encoding)

Page 26: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Other Ways To Lie(with unintended encoding)

• Are we encoding height, area, or volume?

Page 27: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Other Ways To Lie(with alignment)

Page 28: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Other Ways To Lie(with limited context)

Page 29: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Other Ways To Lie(with limited context)

Page 30: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Other Ways To Lie(with limited context)

Page 31: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Other Ways To Lie(with limited context)

Page 32: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Other Ways To Lie(with limited context)

Page 33: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Questions?

Page 34: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Questions?

Page 35: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Design Principles for Graphical Integrity

1. The representation of numbers, as physically measured on the surface of the graphic itself, should be directly proportional to the numerical quantities represented.

2. Clear, detailed, and thorough labeling should be used to defeat graphical distortions and ambiguity. Write out explanations of the data on the graphic itself. Label important events in the data.

3. Show data variation, not design variation.4. The number of information-carrying (variable) dimensions

depicted should not exceed the number of dimensions in the data.

5. Graphics must not quote data out of context.

Page 36: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Design Principles for Graphical Integrity

1. The representation of numbers, as physically measured on the surface of the graphic itself, should be directly proportional to the numerical quantities represented.

2. Clear, detailed, and thorough labeling should be used to defeat graphical distortions and ambiguity. Write out explanations of the data on the graphic itself. Label important events in the data.

3. Show data variation, not design variation.4. The number of information-carrying (variable) dimensions

depicted should not exceed the number of dimensions in the data.

5. Graphics must not quote data out of context.

Page 37: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Design Principles for Graphical Integrity

1. The representation of numbers, as physically measured on the surface of the graphic itself, should be directly proportional to the numerical quantities represented.

2. Clear, detailed, and thorough labeling should be used to defeat graphical distortions and ambiguity. Write out explanations of the data on the graphic itself. Label important events in the data.

3. Show data variation, not design variation.4. The number of information-carrying (variable) dimensions

depicted should not exceed the number of dimensions in the data.

5. Graphics must not quote data out of context.

Page 38: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Design Principles for Graphical Integrity

1. The representation of numbers, as physically measured on the surface of the graphic itself, should be directly proportional to the numerical quantities represented.

2. Clear, detailed, and thorough labeling should be used to defeat graphical distortions and ambiguity. Write out explanations of the data on the graphic itself. Label important events in the data.

3. Show data variation, not design variation.4. The number of information-carrying (variable) dimensions

depicted should not exceed the number of dimensions in the data.

5. Graphics must not quote data out of context.

Page 39: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Design Principles for Graphical Integrity

1. The representation of numbers, as physically measured on the surface of the graphic itself, should be directly proportional to the numerical quantities represented.

2. Clear, detailed, and thorough labeling should be used to defeat graphical distortions and ambiguity. Write out explanations of the data on the graphic itself. Label important events in the data.

3. Show data variation, not design variation.4. The number of information-carrying (variable) dimensions

depicted should not exceed the number of dimensions in the data.

5. Graphics must not quote data out of context.

Page 40: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Data-Ink

• “Maximize the Data-Ink Ratio”

Page 41: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

The Concept of Data-Ink Ratio

Data-Ink Ratio =

Page 42: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Data-Ink Ratio

• The goal is to aim for high data-ink ratio• Ink used for he data should be relatively large

compared to the ink in the entire graphic

• Can be thought of as: “proportion of a graphics ink devoted to the non-redundant display of data-information.”

• Or, “1.0 – proportion of a graphic that can be erased without loss of data-information.”

Page 43: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

High Data-Ink Ratio Example

Page 44: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Low Data-Ink Ratio Example

Page 45: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Example Above, Improved

Data-Ink Ratio of 0.7

Page 46: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Example Above, Going to Far…

Data-Ink Ratio of 0.0

Page 47: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

“Within Reason”

• Maximize the Data-Ink Ratio, within reason.

• Erase non-data-ink, within reason.

Page 48: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Erasing Non-Data-Ink?

• Multiple encodings:1. Height of the left line2. Height of the right line3. Height of shading4. Position of top horizontal line5. Position (placement) of the number6. Value of the number

Page 49: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Erasing Non-Data-Ink?

• Common statistical graphs

Page 50: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Erasing Non-Data Ink?

• Symmetry has its values…

Page 51: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Redundancy

Page 52: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Redundancy

• Making the map into a 24 hour cycle adds redundancy, but improves usability

Page 53: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Redundancy

Page 54: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Redundancy

Page 55: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Application of Editing

• Results of a study indicating that one type of element always has a higher value under different experimental conditions

Page 56: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Application of Editing

• After removing all “non-data” carrying ink

Page 57: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Application of Editing

• The Ink that has been removed

Page 58: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

The Process of Removing

Page 59: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Another Example

The atomic volume as a function of the atomic number

Page 60: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Removing Unnecessary Ink

Page 61: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

First Insight

Page 62: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Continuing the Removal

Page 63: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Problem…

• Removing the connecting lines decreases the sense of periodicity…

• Let’s try adding in the grid again to see what happens

Page 64: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Redesign, Trial 1

Page 65: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Final Product

Page 66: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Questions?

Page 67: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Design Principles Based on Data-Ink Ratio

1. Above all else show the data2. Maximize the data-ink ratio3. Erase non-data-ink4. Erase redundant data-ink5. Revise and edit

Page 68: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Chart Junk

• “Non-data-ink or redundant data-ink”

Page 69: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Discussion

• Why is Chartjunk bad?

• Is it always bad?

Page 70: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Chart Junk vs. Memory

Bateman et al. “Useful Junk? The Effects of Visual Embellishment on Comprehension and Memorability of Charts”, CHI 2010

Page 71: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Chart Junk vs. Memory

Page 72: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Eye Gaze

Page 73: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Results

Page 74: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Results

Page 75: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Emphasis on Data, Not Graphic

• Don’t do things just because you can. Do them because they are useful.

Page 76: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

The Duck!

Page 77: Lecture 06: Design II February 5, 2013 COMP 150-2 Visualization

Questions?