Data Visualization (CIS/DSC 468)

Similar documents
CIS 467/602-01: Data Visualization

Data Visualization (DSC 530/CIS )

DSC 201: Data Analysis & Visualization

Telecommunications and Internet Access By Schools & School Districts

DEPARTMENT OF HOUSING AND URBAN DEVELOPMENT. [Docket No. FR-6090-N-01]

CostQuest Associates, Inc.

Accommodating Broadband Infrastructure on Highway Rights-of-Way. Broadband Technology Opportunities Program (BTOP)

Ocean Express Procedure: Quote and Bind Renewal Cargo

2018 NSP Student Leader Contact Form

Fall 2007, Final Exam, Data Structures and Algorithms

The Lincoln National Life Insurance Company Universal Life Portfolio

MAKING MONEY FROM YOUR UN-USED CALLS. Connecting People Already on the Phone with Political Polls and Research Surveys. Scott Richards CEO

B.2 Measures of Central Tendency and Dispersion

A New Method of Using Polytomous Independent Variables with Many Levels for the Binary Outcome of Big Data Analysis

Panelists. Patrick Michael. Darryl M. Bloodworth. Michael J. Zylstra. James C. Green

Figure 1 Map of US Coast Guard Districts... 2 Figure 2 CGD Zip File Size... 3 Figure 3 NOAA Zip File Size By State...

Distracted Driving- A Review of Relevant Research and Latest Findings

State IT in Tough Times: Strategies and Trends for Cost Control and Efficiency

Data Visualization (CIS/DSC 468)

Representation: Design Idioms 1

Name: Business Name: Business Address: Street Address. Business Address: City ST Zip Code. Home Address: Street Address

Silicosis Prevalence Among Medicare Beneficiaries,

2018 Supply Cheat Sheet MA/PDP/MAPD

NSA s Centers of Academic Excellence in Cyber Security

THE LINEAR PROBABILITY MODEL: USING LEAST SQUARES TO ESTIMATE A REGRESSION EQUATION WITH A DICHOTOMOUS DEPENDENT VARIABLE

Team Members. When viewing this job aid electronically, click within the Contents to advance to desired page. Introduction... 2

Presented on July 24, 2018

DSC 201: Data Analysis & Visualization

Global Forum 2007 Venice

MERGING DATAFRAMES WITH PANDAS. Appending & concatenating Series

IT Modernization in State Government Drivers, Challenges and Successes. Bo Reese State Chief Information Officer, Oklahoma NASCIO President

We will start at 2:05 pm! Thanks for coming early!

DTFH61-13-C Addressing Challenges for Automation in Highway Construction

Tina Ladabouche. GenCyber Program Manager

Best Practices in Rapid Deployment of PI Infrastructure and Integration with OEM Supplied SCADA Systems

Department of Business and Information Technology College of Applied Science and Technology The University of Akron

CSE 781 Data Base Management Systems, Summer 09 ORACLE PROJECT

CS-5630 / CS-6630 Visualization for Data Science The Visualization Alphabet: Marks and Channels

Charter EZPort User Guide

2015 DISTRACTED DRIVING ENFORCEMENT APRIL 10-15, 2015

State HIE Strategic and Operational Plan Emerging Models. February 16, 2011

Post Graduation Survey Results 2015 College of Engineering Information Networking Institute INFORMATION NETWORKING Master of Science

Moonv6 Update NANOG 34

AASHTO s National Transportation Product Evaluation Program

PulseNet Updates: Transitioning to WGS for Reference Testing and Surveillance

Homework Assignment #5

SAS Visual Analytics 8.2: Working with Report Content

Sideseadmed (IRT0040) loeng 4/2012. Avo

Touch Input. CSE 510 Christian Holz Microsoft Research February 11, 2016

Prizm. manufactured by. White s Electronics, Inc Pleasant Valley Road Sweet Home, OR USA. Visit our site on the World Wide Web

Amy Schick NHTSA, Occupant Protection Division April 7, 2011

The Outlook for U.S. Manufacturing

Data Visualization Principles for Scientific Communication

Visual Encoding Design

Presentation Outline. Effective Survey Sampling of Rare Subgroups Probability-Based Sampling Using Split-Frames with Listed Households

A Capabilities Presentation

CP SC 8810 Data Visualization. Joshua Levine

Contact Center Compliance Webinar Bringing you the ANSWERS you need about compliance in your call center.

Visual Encoding Design

Visualization Analysis & Design

cs6964 February TABULAR DATA Miriah Meyer University of Utah

Visualization Analysis & Design Full-Day Tutorial Session 1

ACCESS PROCESS FOR CENTRAL OFFICE ACCESS

Geographic Accuracy of Cell Phone RDD Sample Selected by Area Code versus Wire Center

Visualization Analysis & Design Full-Day Tutorial Session 2

Data Visualization (CIS/DSC 468)

cs6630 September VISUAL ENCODING Miriah Meyer University of Utah

Steve Stark Sales Executive Newcastle

Data Visualization (CIS 468)

Strengthening connections today, while building for tomorrow. Wireless broadband, small cells and 5G

Week 4: Facet. Tamara Munzner Department of Computer Science University of British Columbia

HYPERVARIATE DATA VISUALIZATION

Be sure to fax AGA a copy of every application you submitted direct along with the fax confirmation page to ensure you receive your commission!

Expanding Transmission Capacity: Options and Implications. What role does renewable energy play in driving transmission expansion?

What Did You Learn? Key Terms. Key Concepts. 68 Chapter P Prerequisites

Using a Probabilistic Model to Assist Merging of Large-scale Administrative Records

CIE L*a*b* color model

Data Visualization Principles for Dashboard Design

Statistical Methods. Instructor: Lingsong Zhang. Any questions, ask me during the office hour, or me, I will answer promptly.

CMPE 180A Data Structures and Algorithms in C++ Spring 2018

Multivariate Data More Overview

SAS Visual Analytics 8.2: Getting Started with Reports

Points Lines Connected points X-Y Scatter. X-Y Matrix Star Plot Histogram Box Plot. Bar Group Bar Stacked H-Bar Grouped H-Bar Stacked

Statistical graphics in analysis Multivariable data in PCP & scatter plot matrix. Paula Ahonen-Rainio Maa Visual Analysis in GIS

Jurisdictional Guidelines for Accepting a UCC Record Presented for Filing 2010 Amendments & the 2011 IACA Forms

MIS2502: Review for Exam 2. Jing Gong

Marks. Marks can be classified according to the number of dimensions required for their representation: Zero: points. One: lines.

Week 6: Networks, Stories, Vis in the Newsroom

Working with Charts Stratum.Viewer 6

Lecture 6: Statistical Graphics

CIS 467/602-01: Data Visualization

8. MINITAB COMMANDS WEEK-BY-WEEK

Presentation to NANC. January 22, 2003

MATH 117 Statistical Methods for Management I Chapter Two

Scalable Data Analysis (CIS )

2013 Product Catalog. Quality, affordable tax preparation solutions for professionals Preparer s 1040 Bundle... $579

Chap 12: Facet Into Multiple Views Paper: Multiform Matrices and Small Multiples

Perception Maneesh Agrawala CS : Visualization Fall 2013 Multidimensional Visualization

On All Forms. Financing Statement (Form UCC1) Statutory, MARS or Other Regulatory Authority to Deviate

LAB 1 INSTRUCTIONS DESCRIBING AND DISPLAYING DATA

Transcription:

Data Visualization (CIS/DSC 468) Tabular Data Dr. David Koop

Channel Considerations Discriminability Separability Visual Popout Weber's Law Luminance Perception 2

Separability Cannot treat all channels as independent! Separable means each individual channel can be distinguished Integral means the channels are perceived together Position Hue (Color) Size Hue (Color) Width Height Red Green Fully separable Some interference Some/significant interference Major interference [Munzner (ill. Maguire) based on Ware, 2014] 3

Relative vs. Absolute Judgments Weber s Law: - We judge based on relative not absolute differences - The amount of perceived difference depends is relative to the object s magnitude! A B A B A B Unframed Unaligned Framed Unaligned Unframed Aligned [Munzner (ill. Maguire), 2014] 4

Assignment 2 http://www.cis.umassd.edu/~dkoop/ cis468-2017sp/assignment2.html Use D3 1. Repeat Part 3b of A1 using D3 2. Extend Part 1 to create a stacked bar chart 3. Create a line chart that shows a region's numbers that is linked to a dropdown menu allowing you to select the region. Use transitions! 5

D3 Examples Start: http://codepen.io/dakoop/pen/dnxjyl Simple Solution: http://codepen.io/dakoop/pen/ajolbp With Axes and Scales: http://codepen.io/dakoop/pen/wpezov With Objects and Margin Convention: http://codepen.io/dakoop/ pen/mjngwz More on Margin Convention: - https://bl.ocks.org/mbostock/3019563 (Note this is D3 v3!) 6

Exam 1 Wednesday, March 1 in class (12-12:50pm) Format: - Multiple Choice - Short Answer Sample questions on web site: - http://www.cis.umassd.edu/~dkoop/cis468/exam1.html 7

Tables 8

Visualization of Tables Items and attributes For now, attributes are not known to be positions Keys and values - key is an independent attribute that is unique and identifies item - value tells some aspect of an item Keys: categorical/ordinal Values: +quantitative Levels: unique values of categorical or ordered attributes Items (rows) Attributes (columns) Cell containing value Multidimensional Table Value in cell [Munzner (ill. Maguire), 2014] 9

Arrange Tables Arrange Tables Express Values Separate, Order, Align Regions Separate Order Align 1 Key 2 Keys 3 Keys Many Keys List Matrix Volume Recursive Subdivision Axis Orientation Rectilinear Parallel Radial Layout Density Dense Space-Filling [Munzner (ill. Maguire), 2014] 10

Express Values: Scatterplots Prices in 1980 450 400 350 300 250 200 150 100 50 0 Fish Prices over the Years 0 50 100 150 200 250 300 350 400 450 Prices in 1970 Data: two quantitative values Task: find trends, clusters, outliers How: marks at spatial position in horizontal and vertical directions Correlation: dependence between two attributes - Positive and negative correlation - Indicated by lines Coordinate system (axes) and labels are important! 11

0.000 0.002 0.004 0.006 0 10000 20000 30000 40000 n dist Coordinate Systems 12 [Wickham, 2014]

0.001 0.0001 0.00001 100 1000 10000 n dist Log-Log Plot 13 [Wickham, 2014]

Bubble Plot [Gapminder, Wealth & Health of Nations] 14

Scatterplot Data: two quantitative values Task: find trends, clusters, outliers How: marks at spatial position in horizontal and vertical directions Scalability: hundreds of items Cool recent result from Harrison et al., "Ranking Visualizations of Correlation Using Weber s Law", 2014: - Correlation perception can be modeled via Weber s Law - Scatterplots are one of the best visualizations for both positive and negative correlation - Further analysis: M. Kay and J. Heer, "Beyond Weber's Law", 2015 15

Separate, Order, and Align: Categorical Regions Categorical: =,!= Spatial position can be used for categorical attributes Use regions, distinct contiguous bounded areas, to encode categorical attributes Three operations on the regions: - Separate (use categorical attribute) - Align - Order (use some other ordered attribute) Alignment and order can use same or different attribute 16

List Alignment: Bar Charts Data: one quantitative attribute, one categorical attribute Task: lookup & compare values How: line marks, vertical position (quantitative), horizontal position (categorical) What about length? Ordering criteria: alphabetical or using quantitative attribute Scalability: distinguishability - bars at least one pixel wide - hundreds 100 75 50 25 0 100 75 50 25 0 Animal Type Animal Type [Munzner (ill. Maguire), 2014] 17

Stacked Bar Charts 35M 30M 25M Population 65 Years and Over 45 to 64 Years 25 to 44 Years 18 to 24 Years 14 to 17 Years 5 to 13 Years Under 5 Years 20M 15M 10M 5.0M 0.0 CA TX NY FL IL PA OH MI GA NC NJ VA WA AZ MA IN TN MOMD WI MN CO AL SC LA KY OR OK CT IA MS AR KS UT NV NMWV NE ID ME NH HI RI MT DE SD AK ND VT DC WY [Bostock, 2012] 18

Grouped Bar Chart 10M 9.0M 8.0M 7.0M Population 65 Years and Over 45 to 64 Years 25 to 44 Years 18 to 24 Years 14 to 17 Years 5 to 13 Years Under 5 Years 6.0M 5.0M 4.0M 3.0M 2.0M 1.0M 0.0 CA TX NY FL IL PA [M. Bostock, http://bl.ocks.org/mbostock/3887051] 19

Stacked Bar Charts Data: multidimensional table: one quantitative, two categorical Task: lookup values, part-to-whole relationship, trends How: line marks: position (both horizontal & vertical), subcomponent line marks: length, color Scalability: main axis (hundreds like bar chart), bar classes (<12) Orientation: vertical or horizontal (swap how horizontal and vertical position are used. 20

Streamgraphs Include a time attribute Data: multidimensional table, one quantitative attribute (count), one ordered key attribute (time), one categorical key attribute + derived attribute: layer ordering (quantitative) Task: analyze trends in time, find (maxmial) outliers How: derived position+geometry, length, color Scalability: more categories than stacked bar charts fig 2 films from the summer of 2007 [Byron and Wattenberg, 2012] 21

NYTimes Ebb and Flow of Movies" [http://www.nytimes.com/interactive/2008/02/23/movies/20080223_revenue_graphic.html] 22

Dot and Line Charts 20 15 10 5 0 20 15 10 5 0 Year Data: one quantitative attribute, one ordered attribute Task: lookup values, find outliers and trends How: point mark and positions Line Charts: add connection mark (line) Similar to scatterplots but allow ordered attribute Year [Munzner (ill. Maguire), 2014] 23

Proper Use of Line and Bar Charts 60 60 50 50 40 40 30 30 20 20 10 10 0 Female Male 0 Female Male 60 50 40 30 20 10 0 10-year-olds 12-year-olds 60 50 40 30 20 10 0 10-year-olds 12-year-olds [Zacks and Tversky, 1999, Munzner (ill. Maguire), 2014] 24

Proper Use of Line and Bar Charts 60 60 50 50 40 40 30 30 20 20 10 10 0 Female Male 0 Female Male [Zacks and Tversky, 1999, Munzner (ill. Maguire), 2014] 25

Aspect Ratio Trends in line charts are more apparent because we are using angle as a channel Perception of angle (and the relative difference between angles) is important Initial experiments found people best judge differences in slope when angles are around 45 degrees (Cleveland et al., 1988, 1993) 26

Multiscale Banking 706 IEEE TRANSACTIONS ON VISUALIZATIO Sunspot Cycles Aspect Ratio = 3.96 Aspect Ratio = 22.35 Power Spectrum [Heer and Agrawala, 2006] 27

Multiscale Banking ON AND COMPUTER GRAPHICS, VOL. 12, NO. 5, SEPTEMBER/OCTOBER 2006 PRMTX Mutual Fund Aspect Ratio = 4.23 Aspect Ratio = 14.55 Power Spectrum [Heer and Agrawala, 2006] 28

Expanding the Study Cleveland et al. did not study the entire space of slope comparisons and 45 degrees was at the low end of their study (blue marks on right) Talbot et al. compared more slopes and found that people do better with smaller slopes Baselines may aid with this Slope ratio (pij) 87% 65% 48% 35% 25% 17% 11% 9 18 30 45 60 72 81 Mid angle (θ m ) [Talbot et al., 2013] 29

Heatmaps Data: Two keys, one quantitative attribute Task: Find clusters, outliers, summarize How: area marks in grid, color encoding of quantitative attribute Scalability: number of pixels for area marks (millions), <12 colors Red-green color scales often used - Be aware of colorblindness! Fast-Pitch Softball Slugging Percentage [fastpitchanalytics.com] 30

Bertin Matrices Must we only use color? - What other marks might be appropriate? [C.Perrin et al., 2014] 31

Bertin Matrices Must we only use color? - What other marks might be appropriate? [C.Perrin et al., 2014] 31

Bertin s Encodings Text 0 1 2 3 4 5 6 7 8 9 10 11 text Grayscale QUANTITY OF INK ENCODINGS POSITIONAL ENCODING MEAN-BASED ENCODINGS Circle Dual bar chart Bar chart Line Black and white bar chart Average bar chart [C.Perrin et al., 2014] 32

Matrix Reordering [Bertin Exhibit (INRIA, Vis 2014), Photo by Robert Kosara] 33

Cluster Heatmap [File System Similarity, R. Musăloiu-E., 2009] 34

Cluster Heatmap Data & Task: Same as Heatmap How: Area marks but matrix is ordered by cluster hierarchies Scalability: limited by the cluster dendrogram Dendrogram: a visual encoding of tree data with leaves aligned 35

Sepal.Length 2.0 3.0 4.0 0.5 1.5 2.5 4.5 5.5 6.5 7.5 2.0 3.0 4.0 Sepal.Width Petal.Length 1 2 3 4 5 6 7 4.5 5.5 6.5 7.5 0.5 1.5 2.5 1 2 3 4 5 6 7 Petal.Width Iris Data (red=setosa,green=versicolor,blue=virginica) Scatterplot Matrix (SPLOM) Data: Many quantitative attributes Derived Data: names of attributes Task: Find correlations, trends, outliers How: Scatterplots in matrix alignment Scale: attributes: ~12, items: hundreds? Visualizations in a visualization: at high level, marks are themselves visualizations 36 [R command from Wikipedia]

Spatial Axis Orientation So far, we have seen the vertical and horizontal axes (a rectilinear layout) used to encode almost everything What other possibilities are there for axes? [Munzner (ill. Maguire), 2014] 37

Spatial Axis Orientation So far, we have seen the vertical and horizontal axes (a rectilinear layout) used to encode almost everything What other possibilities are there for axes? - Parallel axes Math Physics Dance Drama 100 90 80 70 60 50 40 30 20 10 0 Parallel Coordinates [Munzner (ill. Maguire), 2014] 37

Spatial Axis Orientation So far, we have seen the vertical and horizontal axes (a rectilinear layout) used to encode almost everything What other possibilities are there for axes? - Parallel axes - Radial axes Math Physics Dance Drama 100 90 80 70 60 50 40 30 20 10 0 Parallel Coordinates [Munzner (ill. Maguire), 2014] 37

Pie Chart 65 <5 45-64 5-13 14-17 18-24 25-44 [Pie Chart, Bostock, 2017] 38

Pie Charts vs. bar charts [Munzner's Textbook, 2014] - Angle channel is lower precision then position in bar charts What about donut charts? Are we judging angle, or are we judging area, or arc length? - See "An Illustrated Study of the Pie Chart Study Results" by R. Kosara 39

Arcs, Angles, or Areas? [R. Kosara and D. Skau, 2016] 40

Absolute Error Relative to Pie Chart [R. Kosara and D. Skau, 2016] 41

Conclusion: We do not read pie charts by angle [R. Kosara and D. Skau, 2016] 42

Pies vs. Bars but area is still harder to judge than position Screens are usually not round 43