deconstructing visualizations
play

Deconstructing Visualizations Ma Maneesh Agrawala CS 448B: - PDF document

Deconstructing Visualizations Ma Maneesh Agrawala CS 448B: Visualization Fall 2020 1 2 1 Announcements 3 Final project Data analysis/explainer or conduct research I Data analysis : Analyze dataset in depth & make a visual explainer I


  1. Deconstructing Visualizations Ma Maneesh Agrawala CS 448B: Visualization Fall 2020 1 2 1

  2. Announcements 3 Final project Data analysis/explainer or conduct research I Data analysis : Analyze dataset in depth & make a visual explainer I Research : Pose problem, Implement creative solution Deliverables I Data analysis/explainer : Article with multiple interactive visualizations I Research : Implementation of solution and web-based demo if possible I Short video (2 min) demoing and explaining the project Schedule I Project proposal: Thu 10/29 I Design Review and Feedback: Tue 11/17 & Thu 11/19 I Final code and video: Sat 11/21 11:59pm Grading I Groups of up to 3 people, graded individually I Clearly report responsibilities of each member 4 2

  3. Deconstructing Visualizations 5 6 3

  4. Pixels are poor representation Hard for machines to retrieve data 7 8 4

  5. 9 Pixels are poor representation Hard for machines to retrieve data Hard for people to manipulate 10 5

  6. Pixels are a poor representation of charts and graphs Cannot index, search, manipulate or interact with the data Goal: Re Reconstruct higher-le level l representation of charts and graphs that lets machines and people re redesign, re reuse and revitalize them re 11 What is a good representation? 12 6

  7. Year Exports Imports mark: lines Mappings 1700 170,000 300,000 Marks Year à x-pos (Q) Data 1701 171,000 302,000 Exports à y-pos (Q) 1702 176,000 303,000 Imports à y-pos (Q) 1703 180,000 312,000 Exports à color (N) 1704 187,000 319,000 Imports à color (N) … … … 13 Disease Budget Mappings mark: areas Aids 70.0% Marks Budget à angle (Q) Alzheimer’s 5.0% Data Disease à color (N) Cardiovascular 1.1% Diabetes 4.8% Hepatitus B 4.1% Hepatitus C 3.8% Parkinson’ 6.0% Prostate 5.2% 14 7

  8. Disease Budget Mappings mark: lines Aids 70.0% Marks Budget à length (Q) Alzheimer’s 5.0% Data Disease à color (N) Cardiovascular 1.1% Diabetes 4.8% Hepatitus B 4.1% Hepatitus C 3.8% Parkinson’ 6.0% Prostate 5.2% 15 Approach Classification: Determine chart type Mark extraction: Retrieve graphical marks Data extraction: Retrieve underlying data table 16 16 8

  9. Classification 17 Training the Classifier 18 9

  10. Training the Classifier 19 Training the Classifier Bar Charts Pie Charts Scatter Plots 20 10

  11. Classifying an Input Image 21 Classifying an Input Image 22 11

  12. Classifying an Input Image 23 Classifying an Input Image 24 12

  13. Classifying an Input Image 25 Classifying an Input Image 26 13

  14. Classifying an Input Image SVM Pie Chart Classifier Corpus: 667 charts, 5 chart types [ Prasad 2007] Average Accuracy [Prasad 2007] Multi-class SVM 84% ReVision: Multi-class SVM 88% ReVision: Binary SVM (yes/no for each chart type) 96% 27 Our Corpus Over 2500 labeled images and 10 chart types ReVision binary SVMs give 96% classification accuracy http://vis.berkeley.edu/papers/revision 28 14

  15. Mark and Data Extraction 29 Assumptions Bar charts and pie charts only No shading or texture, 3D, stacked bars, or exploded pies 30 15

  16. Bar Charts marks: lines y-value x-value 50 A 25 B 4 C 75 D 31 Bar Charts marks: lines y-value x-value 50 A 35 B 4 C 75 D Extract Marks Extract Data Identify Find Associate Recover Bar Orientation Foreground Labels with Values and Baseline Rectangles Bars Scale: 2 pixels/unit 42 16

  17. Pie Charts marks: areas percentage category 22.3 A 22.4 B 10.8 C 5.6 D 5.6 E 33.3 F Extract Marks Extract Data Unroll Pie Fit Ellipse Compute Associate and Find Area Labels with Using Transitions Percentages Areas RNASAC Scale: 50 pixels/percent 43 Extraction Results 60 53 52 50 41 Number of Charts 40 33 29 30 21 20 79% 62% 40% 56% 10 0 Bar Pie Total charts Mark extractions Data extractions 44 17

  18. Data Extraction Error Bar Charts Pie Charts 4.6% 7.7% Average chart size: 342 x 452 pixels [Prasad 2007] 45 Redesign 46 18

  19. Original Redesign 47 Original Redesign 48 19

  20. Redesign #1 Original 49 Redesign #1 Original Redesign #2 50 20

  21. Limitations Additional Chart Types Handling Legends 52 Graphical Overlays Visual elements that are layered onto a chart to facilitate the perceptual and cognitive processes involved in chart reading 53 21

  22. Taxonomy 54 Demo 55 22

  23. Reference Structures Help by breaking marks into regular segments and aid reading axis values 56 Highlights Draws viewers’ attention to specific marks 57 23

  24. Redundant Encodings Emphasize data values or trends 58 Summary Statistics Enables comparison with statistics based on the data 59 24

  25. Annotation Provide context and support collaboration 60 mark: lines year money 2000 85 2001 78 2002 87 2003 90 2004 98 … … Most overlays only require access to marks Reference structures ( marks ) Highlights ( marks ) Redundant encodings ( marks and data ) Summary statistics ( marks ) Annotations ( marks ) 61 25

  26. Interactive Documents How can we facilitate reading text and charts together? 62 Goal: Extract references between text and chart 63 26

  27. Problem: Diversity of writing styles 64 Example 1: Pew Research Skepticism for capitalism is lowest in Brazil (22%), China (19%), Germany (29%) (although East Germans are less supportive than West Germans) and the U.S. (24%). Skepticism for free markets is highest in Mexico (60%) and Japan (60%). 65 27

  28. Example 1: Pew Research Skepticism for capitalism is lowest in Brazil (22%), China (19%), Germany (29%) (although East Germans are less supportive than West Germans) and the U.S. (24%) . Skepticism for free markets is highest in Mexico (60%) and Japan (60%). 66 Example 2: Economist Top earners have attracted more opprobrium as their salaries and the performance of the economy have headed in opposite directions. Europeans and Latin Americans tend to have similar attitudes to the rich; the Anglo-Saxon world is a bit more forgiving. 67 28

  29. Example 2: Economist Top earners have attracted more opprobrium as their salaries and the performance of the economy have headed in opposite directions. Europeans and Latin Americans tend to have similar attitudes to the rich; the Anglo-Saxon world is a bit more forgiving. 68 Preprocessing Crowdsourcing Clustering and Merging Document Reference Merge segmentation extraction Mark and data Split extraction Cluster Select representative 69 29

  30. Demo 70 Evaluation 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 All workers Passed Clustered gold and merged Avg. F 1 distance: expert specified references vs. crowd specified references 71 30

  31. Deconstructing D3 Charts Data deconID name type cost 2 apple fruit 1.00 3 pear fruit 2.00 4 beef meat 5.00 Marks fill xPosition height green 35 px 20 px green 60 px 40 px red 85 px 100 px Mappings C type fi ll L height cost L yPos cost L cost area L deconID xPos D3 Code D3 Chart Our Deconstruction Automatically convert D3 code into mapping based representation to enable redesign and style reuse Deconstructing and Restyling D3 Visualizations. Jonathan Harper and Maneesh Agrawala. User Interface Software Technology (UIST) 2014. 73 Deconstructing D3 Charts country rate deconID Namibia 37.6 17 Macedonia, FYR 32.0 21 Armenia 28.6 25 Bosnia and Herzegovina 27.2 29 Lesotho 25.3 33 South Africa 24.7 37 Spain 20.1 41 Latvia 18.7 45 … … … Deconstructing and Restyling D3 Visualizations. Jonathan Harper and Maneesh Agrawala. User Interface Software Technology (UIST) 2014. 74 31

  32. Deconstructing D3 Charts country rate deconID Namibia 37.6 17 Macedonia, FYR 32.0 21 Armenia 28.6 25 Bosnia and Herzegovina 27.2 29 Lesotho 25.3 33 South Africa 24.7 37 Spain 20.1 41 Latvia 18.7 45 … … … Deconstructing and Restyling D3 Visualizations. Jonathan Harper and Maneesh Agrawala. User Interface Software Technology (UIST) 2014. 75 Automatic Redesign Can we automatically redesign charts to improve Perceptual effectiveness? Visual aesthetics? Accessibility for vision impaired users? Data Source Style Target Result 76 32

  33. Data Source Style Target Converting Basic D3 Charts into Reusable Style Templates. Jonathan Harper and Maneesh Agrawala. IEEE TVCG. 2018. 77 Reusable Style Templates Converting Basic D3 Charts into Reusable Style Templates. Jonathan Harper and Maneesh Agrawala. IEEE TVCG. 2018. 78 33

  34. Document Collections Many specialized collections Scientific: PLOS, JSTOR, ACM DL, … Web visualizations: D3, Processing, … News: New York Times, Pew research, … How can deconstruction aid search? Search by chart type, data type, marks, data, … Similarity search with inexact matching Query expansion 79 Takeaways A chart is a collection of mappings between data and marks We can reconstruct this representation from chart bitmaps Such reconstruction enables redesign , reuse and revitalization 80 34

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