Data Visualization Best Practices
Data Visualization Best Practices
Best Practices:
Informing Without Misleading
B AT C H : I O C L
Objectives
Resolution:
Objects 0.04mm wide (the width of a fine human hair) are just distinguishable by good eyes,
objects 0.02mm wide are not.
Detect about 635 separate points in 1 square inch area
Limitations of Memory
If you want someone to make sense of the graph as a whole, then you must limit the
number of data components that encode distinct meanings to seven at most—and safer yet,
to no more than five
Pre-attentive Attributes &
Encoding
Pre-attentive Attributes
• Take a few seconds to count how many times the number "5" appears in
Figure 3
Pre-attentive Attributes
• Take a few seconds to count how many times the number "5" appears in
Figure 4
Pre-attentive Attributes
• Pre-attentive attributes are information we can process visually almost immediately
before sending the information to the attention-processing parts of our brain.
The advantages of visual analysis
The advantages of visual analysis
Consider the effort required to answer questions with a text table, such as: How do our business
locations compare with each other? Did we gain or lose customers over a specific range of years?
Text table vs. line chart
Text table vs. bar chart
• An object's size, as in its 2-D area (simultaneous perception of both length and width) -
we can tell that one object is bigger than another. However, it's difficult to determine by
how much they differ.
• Being familiar with them will help you design visualizations that viewers readily grasp.
Proximity
• Arrange elements of your visualizations closer to each other if they are related:
• Titles should be placed near the charts they are related to.
• Color keys (legends) need to be located close to the charts they are used in.
• Filters/parameters should be positioned closer to the charts they influence.
• Charts related to each other, such as those representing the same metrics, should be
placed close to each other rather than to other charts.
Similarity
• If the chart is merely colored without carrying any semantic meaning, it may be
harder to interpret than if left without color altogether.
• Use color for:
• Grouping to highlight similar characteristics. E.g., assigning color to a scatterplot can
convey additional characteristics of the elements.
• Directing the audience’s attention to elements you consider significant, serving as a focus
mechanism within your visualization.
Enclosure
• Viewers will assume that a chart's axes conform to the standard orientation they
are accustomed to.
Independent and dependent variables
• When a dual axis chart includes the same units on each axis, synchronize the axes to
improve consistency and clarity.
• Note, however, that when each axis contains clearly different units, such as age and
temperature, synchronizing the axes is neither necessary nor useful.
Expectations about color
Cultural and natural assumptions
Consider the use of color across an entire visualization, and synchronize the meanings of the
colors used across the views in a dashboard or story.
Unintentional color relationships
AMOUNT OF INFORMATION
Types of Variables
• Numeric
• Continuous
• Discrete (Integer)
• Categorical
• Ordered (low, medium, high)
• Unordered (male, female, other)
• Binary (Flag) (Yes, No)
56
Primary types of quantitative messages &
How to graph them
1. Nominal Comparison
2. Time series
3. Ranking
4. Part-to-whole
5. Deviation
6. Frequency distribution
7. Correlation.
Why not pie diagram?
If the area of the small circle below equals a value of 1, what is the area of
the large circle?
Our eyes are great at comparing differences in 2-D location and differences in line length,
but not 2-D areas and angles.
We are pretty bad at reading angles
• Look at the pie chart below and try to place the slices in order from largest to smallest.
We are pretty bad at reading angles
• Look at how easy it is to compare the percentages using the bar graph below,
which displays the same values:
• This information is much easier to read when presented in a table than it was when awkwardly
arranged around the periphery of the pie. So why use a graph at all?
• Why show a picture of the data if the picture can’t be decoded and doesn’t present the
information more meaningfully?
Try to follow the changes of these various companies and how they compare to one
another through time.
Notice how easily you can do it, however, using the bar graphs
People love dressing up their pie charts
today to look mouthwatering