Designing High Impact Data Visualizations
Hong QuHKS Communications workshop
February 20, 2020
Agenda• Ways to visualize information
• 5 step process
• Target <—> Data wrangling <—> Design <—> Implement <—> Evaluate
• Matching the data sets to types of graph
• Pre-attentive perception
• Narrative, storytelling, and shared understanding
• Demos and exercises
DPI-851M Data and Information Visualization
Pre-attentive Perception
Preattentive Attributes in Visualization – An Example
Actionable Insights
Few, Stephen. Now You See It: Simple Visualization Techniques for Quantitative Analysis
https://www.datarevelations.com/rethinkingdivergent.html
Visualizing Survey Data
https://www.datarevelations.com/rethinkingdivergent.html
Divergent Stacked Bar Chart
Jones, Ben. Communicating Data with Tableau
Choosing a Data Visualization Tool for Data Scientists
Media
Jones, Ben. Communicating Data with Tableau
5 Step process
The Power of Visualization
The Power of Visualization
Computational Information Design
–Jeffrey Heer, Michael Bostock, Vadim Ogievetsky
“The goal of visualization is to aid our understanding of data by leveraging the
human visual system’s highly tuned ability to see patterns, spot trends, and identify
outliers.”
A Tour Through the Visualization Zoo
Nathan Yau, Data Points, pages 144-145.
https://datavis.readthedocs.io/en/latest/visual_encoding.html
A study done showed that position (y, x axis) is the best, followed by length, angle and slope, area, volume, and lastly, color and density.
Working memory is extremely limited
~ 5 - 7 things
Combine Human cognitive capabilities
with Visually encoded data interfaces
dataremixed.com/books/cdwt/
Communicating Data with Tableau - 2012 NY Yankees Stats
Data Table
class exercise Tasks for data analysis
• Rank the top 10 players who hit the most home runs?
• What percent did any particular player contribute to the home run total for the team?
• What is the relationship between number of “At Bats” and Home runs?
• Players in which field positions tend to hit more home runs?
Metrics: • Task completion rate • Time to complete task • Number of errors
Hypothesis generation (sanity check the dataset)
(what, when, how, who, where)
Hypothesis formation
Hypothesis testing
Hypothesis validation
Domain knowledge and
Qualitative research insights (why, how)
[Experimentation (A/B test)][Synthesis]
Data Table - Sorted
Communicating Data with Tableau - 2012 NY Yankees Stats
Bar Chart
Communicating Data with Tableau - 2012 NY Yankees Stats
Pie Chart !
Communicating Data with Tableau - 2012 NY Yankees Stats
Dot Graph in %
Scatter Plot HR vs AB
Communicating Data with Tableau - 2012 NY Yankees Stats - Scatter Plot
CrossTab Highlight Chart
Communicating Data with Tableau - 2012 NY Yankees Stats - Scatter Plot
Peter Aldhous: Data visualization: basic principle
• Title and subtitle These provide context for the chart.
• Coordinate system For most charts, this is provided by the horizontal and vertical axes, giving a cartesian system defined by X and Y coordinates; for a pie chart it is provided by angles around a circle, called a polar coordinate system.
• Scale Labeled tick marks and grid lines can help your audience read data values.
• Labels You will usually want to label each axis. Think about other labels that may be necessary to explain the message of your graphic.
• Legend If you use color or shape to encode data, you will often need a legend to explain this encoding.
• Source information Usually given as a footnote. Don’t forget this!
Anatomy of a Chart
XXX�&YUSFNF1SFTFOUBUJPO�DPNª����� "��"CFMB�� B�W�BCFMB!HNBJM�DPN
$IBSU�4VHHFTUJPOT�"�ɧ� PVHIU�4UBSUFSCircular Area Chart Line Chart Column Chart Line Chart
Scatter Chart
3D Area Chart
Pie Chart Waterfall Chart Stacked 100% Column Chart
with Subcomponents
Stacked Area ChartStacked 100%
Area Chart
Stacked
Column Chart
Stacked 100%
Column Chart
Bubble Chart
Scatter Chart
Variable Width
Column Chart
Table or Table with
Embedded Charts
Bar Chart Column Chart
Column Histogram
Line Histogram
ɨ� SFF7BSJBCMFT
5XP7BSJBCMFT
4JOHMF7BSJBCMF
.BOZ�1FSJPET'FX�1FSJPET
5XP�7BSJBCMFT5XP�7BSJBCMFT5XP�7BSJBCMFTQFS�*UFNQFS�*UFNQFS�*UFN
.BOZ.BOZ.BOZ$BUFHPSJFT$BUFHPSJFT$BUFHPSJFT
0OF�7BSJBCMF�QFS�*UFN0OF�7BSJBCMF�QFS�*UFN0OF�7BSJBCMF�QFS�*UFN0OF�7BSJBCMF�QFS�*UFN
"NPOH�*UFNT"NPOH�*UFNT"NPOH�*UFNT
8IBU�XPVME�ZPVMJLF�UP�TIPX
.BOZ�*UFNT.BOZ�*UFNT.BOZ�*UFNT
'FX�$BUFHPSJFT'FX�$BUFHPSJFT'FX�$BUFHPSJFT
'FX�*UFNT'FX�*UFNT'FX�*UFNT
.BOZ�1FSJPET.BOZ�1FSJPET.BOZ�1FSJPET
$ZDMJDBM�%BUB$ZDMJDBM�%BUB$ZDMJDBM�%BUB$ZDMJDBM�%BUB /PO�$ZDMJDBM�%BUB/PO�$ZDMJDBM�%BUB/PO�$ZDMJDBM�%BUB
'FX�1FSJPET'FX�1FSJPET'FX�1FSJPET
4JOHMF�PS�'FX�$BUFHPSJFT4JOHMF�PS�'FX�$BUFHPSJFT4JOHMF�PS�'FX�$BUFHPSJFT4JOHMF�PS�'FX�$BUFHPSJFT .BOZ�$BUFHPSJFT.BOZ�$BUFHPSJFT.BOZ�$BUFHPSJFT.BOZ�$BUFHPSJFT
0WFS�5JNF0WFS�5JNF0WFS�5JNF
$PNQBSJTPO$PNQBSJTPO$PNQBSJTPO
%JTUSJCVUJPO%JTUSJCVUJPO%JTUSJCVUJPO
'FX%BUB%BUB%BUB
1PJOUT
.BOZ%BUB%BUB
1PJOUT
5XP7BSJBCMFT7BSJBCMFT7BSJBCMFT
ɨ� SFF7BSJBCMFT7BSJBCMFT7BSJBCMFT
3FMBUJPOTIJQ3FMBUJPOTIJQ3FMBUJPOTIJQ
$PNQPTJUJPO$PNQPTJUJPO$PNQPTJUJPO
4JNQMF�4IBSF4JNQMF�4IBSF4JNQMF�4IBSFPG�5PUBMPG�5PUBMPG�5PUBM
"DDVNVMBUJPO�PS"DDVNVMBUJPO�PS"DDVNVMBUJPO�PS4VCUSBDUJPO�UP�5PUBM4VCUSBDUJPO�UP�5PUBM4VCUSBDUJPO�UP�5PUBM
$PNQPOFOUT$PNQPOFOUT$PNQPOFOUT$PNQPOFOUTPG�$PNQPOFOUTPG�$PNQPOFOUTPG�$PNQPOFOUTPG�$PNQPOFOUT
4UBUJD4UBUJD4UBUJD
0OMZ�3FMBUJWF0OMZ�3FMBUJWF0OMZ�3FMBUJWF%JĊ�FSFODFT�.BUUFS%JĊ�FSFODFT�.BUUFS%JĊ�FSFODFT�.BUUFS
3FMBUJWF�BOE�"CTPMVUF�3FMBUJWF�BOE�"CTPMVUF�3FMBUJWF�BOE�"CTPMVUF�%JĊ�FSFODFT�.BUUFS%JĊ�FSFODFT�.BUUFS%JĊ�FSFODFT�.BUUFS
0OMZ�3FMBUJWF0OMZ�3FMBUJWF0OMZ�3FMBUJWF0OMZ�3FMBUJWF%JĊ�FSFODFT�.BUUFS%JĊ�FSFODFT�.BUUFS%JĊ�FSFODFT�.BUUFS%JĊ�FSFODFT�.BUUFS
3FMBUJWF�BOE�"CTPMVUF�3FMBUJWF�BOE�"CTPMVUF�3FMBUJWF�BOE�"CTPMVUF�%JĊ�FSFODFT�.BUUFS%JĊ�FSFODFT�.BUUFS%JĊ�FSFODFT�.BUUFS
$IBOHJOH$IBOHJOH$IBOHJOH0WFS�5JNF0WFS�5JNF0WFS�5JNF
FT Visual Vocabulary
Demos
• Story of the 2020 election in Ireland
• Grid of line charts
• Column chart
• Bar chart race
• Line chart race
• Parliament chart
http://flourish.studio
http://bit.ly/covid-19-dataset
http://bit.ly/HKS_Comms_files
Google search for: “John Hopkins COVID-19 github”