data types tasks
play

Data Types, Tasks, Visual Encodings CS 7250 S PRING 2020 Prof. - PowerPoint PPT Presentation

Data Types, Tasks, Visual Encodings CS 7250 S PRING 2020 Prof. Cody Dunne N ORTHEASTERN U NIVERSITY Slides and inspiration from Michelle Borkin, Krzysztof Gajos, Hanspeter Pfister, 1 Miriah Meyer, Jonathan Schwabish, and David Sprague R EADING


  1. Data Types, Tasks, Visual Encodings CS 7250 S PRING 2020 Prof. Cody Dunne N ORTHEASTERN U NIVERSITY Slides and inspiration from Michelle Borkin, Krzysztof Gajos, Hanspeter Pfister, 1 Miriah Meyer, Jonathan Schwabish, and David Sprague

  2. R EADING Q UIZ 8 min 2

  3. Q UESTIONS ? 3

  4. P REVIOUSLY , ON CS 7250… 4

  5. Visualization Building Blocks Channels : Note: these are all really important concepts when it comes time to coding your visualizations...! 5

  6. 6

  7. Expressiveness and Effectiveness Effectiveness principle: the importance of the attribute should match the salience of the channel; that is, its noticeability. (i.e., encode most important attributes with highest ranked channels) Expressiveness principle: the visual encoding should express all of, and only, the information in the dataset attributes. (i.e., data characteristics should match the channel) Mackinlay (1986) 7

  8. Data Types D ATASET = collection of information that is the target of analysis 8

  9. N OW , ON CS 7250… 9

  10. Analysis What data is shown? Why is the user analyzing / viewing it? How is the data presented? 10

  11. Analysis D ATA A BSTRACTION T ASK A BSTRACTION V ISUAL E NCODING 11

  12. Analysis D ATA A BSTRACTION T ASK A BSTRACTION V ISUAL E NCODING 12

  13. G OALS FOR T ODAY • Learn what are data types and dataset types • Learn what are attribute types • Learn how to pick appropriate visual representations based on attribute type and perceptual properties 13

  14. Data Types D ATASET = collection of information that is the target of analysis 14

  15. Data Types D ATASET = collection of information that is the target of analysis 15

  16. Attribute Types (continuous) e.g., e.g., e.g., fruit (apple, pear, grape), sizes (xs, s, m, l, xl), lengths (1’, 2.5’, 5’), colleges (CAMD, CCIS, COE) months (J, F, M) population 16

  17. Categorical Quantitative Quantitative http://www.nytimes.com/interactive/2016/09/12/science/earth/ocean-warming-climate- 17 change.html

  18. Categorical Ordinal Note: On could also argue that Difficulty and Tastiness could be quantitative (continuous) Ordinal https://xkcd.com/388/ 18

  19. Categorical Quantitative 19

  20. 20

  21. Channel Ranking by Data Type (Categorical) Mackinlay (1986) 21

  22. Channel Ranking by Data Type (Categorical) Mackinlay (1986) 22

  23. Channel Ranking by Data Type A REA Quantitative Ordinal Categorical Mackinlay (1986) 23

  24. Channel Ranking by Data Type Mackinlay (1986) 24

  25. D ATA A BSTRACTION 25

  26. Analysis D ATA A BSTRACTION T ASK A BSTRACTION V ISUAL E NCODING 26

  27. G OALS FOR T ODAY • Learn what “Tasks” are and why they are so important. • Learn the differences between high, mid, and low level task classifications. • Begin practicing how to classify tasks (key step in visualization design process!). 27

  28. T ASK A BSTRACTION Why abstract? Avoids domain specific terms thus easier to apply to other cases (broadly applicable results). 28

  29. T ASK A BSTRACTION Visualization Tools Why abstract? Specific General Avoids domain specific terms thus Altair easier to apply to other cases (broadly applicable results). 29

  30. T ASK A BSTRACTION Why abstract? Avoids domain specific terms thus easier to apply to other cases (broadly applicable results). 30

  31. High-level A CTIONS define user goals. 31

  32. A CTIONS define user goals. 32

  33. A CTIONS define user goals. Mid-level 33

  34. 34

  35. What is the address of Ryder hall? 35

  36. Ryder Hall Where is Ryder Hall? 36

  37. What buildings are near Ryder Hall? 37

  38. What is south of Huntington Ave? 38

  39. A CTIONS define user goals. Low-level single target multiple targets all targets 39

  40. T ARGETS are aspects of the data interest that are interest to the user. 40

  41. High-level A CTIONS define user goals. Mid-level Low-level Lots of other task taxonomies...! 41

  42. Analytic Task Taxonomy Low-level Retrieve Value How long is the movie Gone with the Wind? Filter What comedies have won awards? Compute Derived Value How many awards have MGM studio won in total? Find Extremum What director/film has won the most awards? Sort Rank movies by most number of awards. Determine Range What is the range of film lengths? Characterize Distribution What is the age distribution of actors? Are there exceptions to the relationship between number of awards won Find Anomalies and total movies made by an actor? Cluster Is there a cluster of typical film lengths? Is there a trend of increasing film length over the years? Correlate 42 Amar et al., 2005

  43. A N E XAMPLE OF T ASK A NALYSIS → V ISUALIZATION D ESIGN 43 Zhang et al., 2018

  44. Hierarchical Task Analysis Task Abstraction Design During a type 1 diabetes clinical visit with a Certified Diabetes Educator… Zhang et al., 2018 44

  45. Zhang et al., 2018 45

  46. Zhang et al., 2018 46

  47. Hierarchical Task Analysis Task Abstraction Design Design Requirements • DR1. Composite Visualization of Integrated Data • DR2. Visualization of Folded Temporal Data • DR3. Align and Scale Temporal Data • DR4. Summary Statistics Zhang et al., 2018 47

  48. Hierarchical Task Analysis Task Abstraction Design 14-Day Overview Summary Statistics Panel Detail View Zhang et al., 2018 48

  49. I N - CLASS EXERCISE : M OCK I NTERVIEW , T ASK A NALYSIS 49

  50. Interview Advice • Have a designated note-taker and designated leader • Be prepared. (Have some questions prepared in advance.) • Start slow, safe, and personal. • Coax, don’t hammer. • Make some questions open ended. • Ask what you don’t know. • Let the interviewees wander a bit – but be careful. • Listen, really listen. • For software, look for “work arounds” and hacks. • Make sure to write down your thoughts and impressions immediately after the interview. • You are the visualization expert – don’t ask them what vis they want, don’t think too early about what vis to build. www.forbes.com/sites/shelisrael/2012/04/14/8-tips-on-conducting-great-interviews/+&cd=3&hl=en&ct=clnk&gl=us 50

  51. Task Analysis High-level Visualization for Public Transit Development 15m INSTRUCTIONS: • Break-out into groups of ~3 people. • Pretend you are transportation engineers, e.g., for the MBTA, City of Boston. • Discuss the “domain tasks” and classify the tasks . Mid-level • Save your notes for a later exercise!!! Low-level Low-level 51

  52. Analysis D ATA A BSTRACTION T ASK A BSTRACTION V ISUAL E NCODING 52

  53. G OALS FOR T ODAY • Learn about visual encodings, esp. arranging tables • Learn how to pick appropriate visual representations based on attribute type and perceptual properties 53

  54. V ISUAL E NCODING Now… Later this semester... 54

  55. Visualization Building Blocks Marks: Channels: 55

  56. Mackinlay (1986) 56 Munzner’s VAD

  57. I N - CLASS EXERCISE : E NCODINGS W ORKSHEET 58

  58. Encoding Match-up Grouped Bar Bubble Chart Area Chart Sector Graph Waterfall Chart Chart 59

  59. Encoding Match-up Parallel Venn Diagram Heat Map Star Plot Box & Whisker Plot Coordinates 60

  60. 61

  61. Arrange Tables Categorical or Ordinal Key: an independent attribute that can be used as a unique index (Tableau Dimension) Value: a dependent attribute (i.e., cell in a Categorical Ordinal, or table) (Tableau Measures) Quantitative 62

  62. Example Keys Key High HW1 grade (out Date Precipitation Student College Temperature of 10) May 1, 2016 0” 60 John COS 9 May 2, 2016 0.3” 62 Jane Khoury 10 May 3, 2016 1” 55 June Khoury 8 May 4, 2016 0” 67 Joe Khoury 8

  63. Arrange Tables - no key S CATTER P LOT 64

  64. Arrange Tables - one key B AR C HART L INE G RAPH 65

  65. Arrange Tables - two keys S TACKED B AR C HART H EATMAP 66

  66. Arrange Tables - Two Keys (Network) https://bost.ocks.org/mike/miserables/ 67

  67. Arrange Tables - Two Keys (Network) http://higlass.io/ 68

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend