n328 visualizing information
play

N328 Visualizing Information Week 4: Marks & Channels Khairi - PowerPoint PPT Presentation

N328 Visualizing Information Week 4: Marks & Channels Khairi Reda | redak@iu.edu School of Informa5cs & Compu5ng, IUPUI Last week which side has the outlier? C. Healey, 2007 Cones, Rods, Color vision HyperPhysics, Georgia State


  1. N328 Visualizing Information Week 4: Marks & Channels Khairi Reda | redak@iu.edu School of Informa5cs & Compu5ng, IUPUI

  2. Last week…

  3. which side has the outlier? C. Healey, 2007

  4. Cones, Rods, Color vision HyperPhysics, Georgia State University Wandell, “Foundations of Vision”

  5. Simultaneous contrast Wong 2010 Via Miriah Meyer

  6. Simultaneous contrast Via Colin Ware

  7. POPOUT

  8. Last week… Our visual system sees differences, not absolute values We can easily see objects that are different in color and shape, or that are in mo5on (popouts) Use color and shape sparingly to make the important informa5on pop out

  9. This week • Marks and channels • Perceptual accuracy of channels

  10. Tables Via Miriah Meyer

  11. Attribute/Variable Types ✦ Categorical (Nominal, Qualita7ve) A finite set of categories No implicit ordering between categories ✦ Ordered •Ordinal Implicit ordering between categories/levels, but no clear magnitude difference. Can compare and determine greater/less than •Quan7ta7ve Meaningful magnitude Can do arithme5c

  12. Marks & Channels The visualization alphabet

  13. How can we represent two numbers: 5, 10?

  14. Marks Graphical elements in an image points (0D) lines (1D) areas (2D) volume clouds (3D)

  15. Channels (aka Visual Variables) Parameters that control the appearance of marks based on aCributes

  16. Name the mark & channel Mark: Bar Mark: Point +Hue channel +Size channel Channels: Channels: mapped to 1 mapped to 1 Length mapped to Posi+on (x,y) categorical quan5ta5ve quan5ta5ve mapped aXribute aXribute aXribute 2 quan5ta5ve aXributes Posi+on mapped to categorical aXribute Alex Lex

  17. What’s wrong here? Visual Integrity The magnitude of a channel (length in this case) should be propor5onal to the aXribute (snowfall) Alex Lex

  18. Channel Types iden7ty (what or where) magnitude (how much) Tamara Munzner Via Miriah Meyer

  19. magnitude channels iden7ty channels good for ordered attributes good for categorical attributes Tamara Munzner Via Miriah Meyer

  20. Tamara Munzner Via Miriah Meyer

  21. How do we know the rela5ve accuracy of the visual channels?

  22. Let’s play a game…

  23. How much longer? 2x Alex Lex

  24. How much longer? 4x Alex Lex

  25. How much tilt? 4x Alex Lex

  26. How much larger (area)? 5x Alex Lex

  27. How much larger (area)? 11x

  28. How much larger (area)? 11x

  29. How much darker? 3x Alex Lex

  30. Psychophysics Steven’s Psychological power law perceived sensation S = I n physical intensity

  31. Cleveland & McGill, 1984

  32. https://tinyurl.com/ybjznp92 Name the channel What are the attributes in this visualization? What visual channel is each attribute mapped to?

  33. Discriminability can channel differences be discerned? Via Miriah Meyer

  34. Position Offers very good discriminability posi5on

  35. Position But this doesn’t extend to 3D! Perspec5ve distor5on Occlusions

  36. Factors affecting accuracy of Length/Position judgement aligned stacked bar chart unaligned (unaligned)

  37. D3: Data-Driven Documents

  38. The D3 stack D3 JavaScript HTML SVG Scalable Hypertext markup language Vector graphics

  39. HTML example

  40. SVG X (200,100) Y

  41. SVG

  42. SVG: a bar chart

  43. Chrome Web Server 1) Download extension from: 2) Create folder (e.g., on Desktop) https://tinyurl.com/y9k9hc44 3) Choose folder from extension 4) Open URL

  44. Exercise: Create a bar chart in SVG to visualize the following dataset: Pets animals from a neighborhood survey: cats 45 dogs 21 iguanas 102 Use the following SVG elements: <rect x=“” y=“” width=“” height=“”/> <line x1=“” x2=“” y1=“” y2=“” /> <text x=“” y=“”>Label here</text>

Recommend


More recommend