/
Presenting Data IMGD 2905 Presenting Data IMGD 2905

Presenting Data IMGD 2905 - PowerPoint Presentation

martin
martin . @martin
Follow
65 views
Uploaded On 2024-01-03

Presenting Data IMGD 2905 - PPT Presentation

Chapter 2 2 Types of Variables Qualitative Categorical variables Can have states or subclasses eg rank platinum diamond gold Can be ordered or unordered eg bronze silver gold ID: 1039187

charts chart www data chart charts data www good game guidelines axis mistakes games column scale player http categorical

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Presenting Data IMGD 2905" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

1. Presenting DataIMGD 2905Chapter 2

2. 2Types of VariablesQualitative (Categorical) variablesCan have states or subclassese.g., rank: [platinum, diamond, gold]Can be ordered or unorderede.g., bronze, silver, gold  orderede.g., support, tank, jungler  unorderedQuantitative (Numeric) variablesNumeric levelsDiscrete or continuouse.g., gold per minute, deaths, character levele.g., kills + assists / deaths ratio, win percentageVariablesQualitativeOrderedUnorderedDiscreteContinuousQuantitative

3. OutlineTypes of Charts (next)Guidelines for ChartsCommon Mistakes

4. Categorical: Bar ChartChart containing rectangles (“bars”) where length represents count, amount, or percentBetter than table for comparing numbersNote: bars could be sideways, toohttp://www.cs.wpi.edu/~claypool/mqp/paywall/“Exploring Exer-Walls as a Healthy Alternative to Paywalls in Mobile Games”Demo: imgdpops.xlsx

5. Categorical: Pareto ChartBar chart, arranged most to least frequentLine showing cumulative percentHelps identify most commonDemo: imgdpops.xlsx Sort.New column for percent [=B2/SUM(B$2:B$12)]New column for running [=SUM(D$2:D2)]Note: $ “locks” value in (e.g., B$12 versus B12)Insert combo plot

6. Categorical: Pie ChartWedge-shaped areas (“pie slices”) – represent count, amount or percent of each category from wholeBest if few slices since quantifying “size” of pie difficultComparing pies also difficult“The Effects of Latency and Jitter on a First Person Shooter: Team Fortress 2”http://www.cs.wpi.edu/~claypool/iqp/tf2/Demo: imgdpops.xlsx

7. Categorical: Cross-Classification TableMulti-column table that presents count or percent for 2+ categorical variablesGood for comparison across multi-categorical dataDemo: grades.xlsxInsert Pivot ChartSelect Major through GradeDrag Majors to AxisDrag Grade to AxisDrag Grade to Values

8. Numeric: Frequency DistributionGroups of numeric values and frequencye.g., Survey of Champion “skins” bought with RP1, 2, 1, 0, 3, 4, 0, 1, 1, 1, 2, 2, 3, 2, 3, 2, 1, 4, 0, 0Cluster into groupsReport frequency per groupMay include percentageTypically equal sizeSometimes ends are open (for extremes)Bin size/number variableToo many and not readableGuide:100 or less 7-10101-200 11-15200+ 13-20Skins Freq. Percent0 4 20%1 6 30%2 5 25%3 3 15%4 2 10%Poll class!

9. Cumulative DistributionCumulative amount of data with value or lessEasy to see min, max, medianCompare shapes of distributions“Nerfs, Buffs and Bugs - Analysis of the Impact of Patching on League of Legends”http://www.cs.wpi.edu/~claypool/papers/lol-crawler/Demo: lol-patches.xlsxSelect Banrate dataSort low to highNew column for percent [=ROW()/42]Select column  paste down allSelect both columnsInsert  Scatter plot with lines

10. HistogramBar chart for grouped numerical dataNo (or small) gaps btwn adjacent barsDemo: grades.xlsxhttps://www.mathsisfun.com/data/images/bar-chart-vs-histogram.gif https://www.reddit.com/r/leagueoflegends/comments/4x5s9m/analysis_of_age_in_league_of_legends/ Ages of professional League playershttp://www.leaguemath.com/early-vs-late-game-champions/ Select GPA dataInsert  Statistics Chart  HistogramCan adjust bins, overflow/underflow

11. 11Stem and Leaf Display“Histogram-lite” for analysis w/out softwaree.g., exam scores: 34, 81, 75, 51, 82, 96, 55, 66, 95, 87, 82, 88, 99, 50, 85, 72 9| 6 5 9 8| 1 2 7 2 8 5 7| 5 2 6| 6 5| 1 5 0 4| 3| 4

12. Time Series PlotAssociate data with dateLine graph with dates (proportionally spaced!)http://www.soundandvision.com/content/violence-and-video-games http://www.polygon.com/2014/9/12/6141515/do-violent-video-games-actually-reduce-real-world-crime Demo: majors.xlsxSel. year and majorsInsert  Line Chart More Line Charts

13. Scatter PlotTwo numerical variables, one on each axisReveal patterns in relationshipSetup “right” models (later)http://www.cs.wpi.edu/~claypool/mqp/onlive/“Intelligent Simulation of Worldwide Application Distribution for OnLive's Server Network”Demo: lol-rates.xlsxSelect two of {win, pick, ban}Insert  scatter plot

14. 14Radar PlotAlso called “star charts” or “kiviat plots”Good for quick visual compare, especially when axes unequalhttp://www.thescoreesports.com/lol/news/2561-using-gold-distribution-to-understand-team-dynamic-global-na-lcs-and-lpl Gold compared to average, LoL NA teams, by roleDemo: lol-rates.xlsxSelect top line {win, pick, ban} + 1 row numInsert  Other  Radar scatter plot

15. Many More Charts!BubbleWaterfallTreeGapPolarViolinCandlestickKagiGanttNolanPertSmithSkylineVowelNomogramNatalhttps://en.wikipedia.org/wiki/Chart If common chart effective for message, useLearn/use other charts as needed

16. Game Analytics ChartsGunter Wallner and Simone Kriglstein. “An Introduction to Gameplay Data Visualization”, Game Research Methods, pages 231-250, ETC Press,  ISBN: 978-1-312-88473-1, 2015. http://dl.acm.org/citation.cfm?id=2812792 Player choices (e.g., build units)Density of activities (e.g., where spend time on map)Movement through levels

17. Player Choices – Pie-Chart(Custom game, comparative study)

18. Player Location – Heat Map (1 of 2)

19. Player Location – Heat Map (2 of 2)http://www.gamasutra.com/blogs/JonathanDankoff/20140320/213624/Game_Telemetry_with_DNA_Tracking_on_Assassins_Creed.phpAssassin’s CreedWhere play testers failedResult: Make red areas easier

20. Movement (1 of 2)(game: Infinite Mario, clone of Super Mario Bros.)

21. Movement (2 of 2)

22. Player Behavior - Node-linkGame: DOGeometry - build road to veterinary houseShows exploration, where stuck

23. OutlineTypes of Charts (done)Guidelines for Charts (next)Again, “art” not “rules”. Learn with experience. Recognize good/bad when see it.Common Mistakeshttps://xkcd.com/833

24. Guidelines for Good Charts (1 of 5)Require minimum effort from readerPerhaps most important metricGiven two, can pick one that takes less reader effort24abcDirect LabelingabcLegend Boxe.g.,

25. Guidelines for Good Charts (2 of 5)Maximize informationMake self-sufficientKey words in place of symbolse.g., “Gold IV” and not “Player A”e.g., “Daily Games Played” not “Games Played”Axis labels as informative as possiblee.g., “Game Time (seconds)” not “Game Time”Help by using captions (or title, if stand-alone)e.g., “Game time in seconds versus player skill in total hours played”25http://www.phplot.com/phplotdocs/conc-labels.html

26. Guidelines for Good Charts (3 of 5)Minimize ink (1 of 2)Maximize information-to-ink ratioToo much unnecessary ink makes chart cluttered, hard to reade.g., no gridlines unless needed to help readChart that gives easier-to-read for same data is preferred261Uptime.1Downtime Same data Downtime = 1 – uptime Right “better”

27. Guidelines for Good Charts (3 of 5)Minimize ink (2 of 2)

28. Guidelines for Good Charts (4 of 5)Use commonly accepted practicesPresent what people expecte.g., origin at (0,0)e.g., independent (cause) on x-axis, dependent (effect) on y-axise.g., x-axis scale is lineare.g., increase left to right, bottom to tope.g., scale divisions equalDepartures are permitted, but require extra effort from reader  so use sparingly!28vs.

29. Guidelines for Good Charts (5 of 5)Avoid ambiguityShow coordinate axesat right anglesShow originusually at (0,0)Identify individual curves and barsWith key/legend or labelDo not plot multiple variables on same chartSingle y-axis29http://www.carltonassociatesinc.com/images/confusion-new.jpgvs.

30. Checklist for Good ChartsAxesAre both axes labeled?Are the axis labels self-explanatory and concise?Are the scale and divisions shown on both axes?Are the min and max ranges appropriate?Are the units indicated?Lines/Curves/PointsIs the number of lines/curves reasonably small?Are curves labeled?Are all symbols clearly distinguishable?Is a concise, clear legend provided?Does the legend obscure any data?InformationIf the y-axis is variable, is an indication of spread (error bars) shown?Are grid lines required to read data (if not, then remove)?ScaleAre units increasing left to right (x-axis) and bottom to top (y-axis)?Do all charts use the same scale?Are the scales contiguous?Is bar chart order systematic?Are bars appropriate width, spacing?OverallDoes the whole chart add information to reader?Are there no curves/symbols/text that can be removed and still have the same information?Does the chart have a title or caption (not both)?Is the chart self-explanatory and concise?Do the variables plotted give more information than alternatives?Is chart referenced and discussed in any accompanying report?

31. Describing Chart in Report & Presentation“Formula”Describe all axesE.g., “The x-axis is time since game began, in seconds”Describe data sets/trendlinesE.g., “The blue dots are the average maze completion time”Then provide messageE.g., “Notice how the red bar is higher than the blue, indicating that …”Example on Web pagehttp://web.cs.wpi.edu/~imgd2905/d17/samples/analysis-example.html

32. 32Guidelines for Good Charts (Summary)For each chart, go over “checklist”The more “yes” answers, the betterRemember, while guidelines, art and not scienceSo, may consciously decide not to follow these guidelines if better without them  but have good reason!In practice, takes several trials before arriving at “best” chartWant to present message the most: accurately, simply, concisely, logicallyAccompany with description! Text or verbalRemember, audience/reader has not seen! – Make sure to introduce

33. OutlineTypes of Charts (done)Guidelines for Charts (done)Common Mistakes (next)

34. 34Common Mistakes (1 of 6)Presenting too many alternatives on one chartGuidelinesMore than 5 to 7 messages is too many(Maybe related to the limit of human short-term memory?)Line chart with 6+ curves Column chart with 10+ barsPie chart with 8+ componentsEach cell in histogram fewer than 5 values

35. 35Common Mistakes (2 of 6)Presenting many y-variables on single chartBetter to make separate graphsPlotting many y-variables saves space, but better to requires reader to figure out relationshipSometimes, space constraints (e.g., journal/conference papers),So may “bend” but better to remove than “break”minions killedgold/secondpoints

36. 36Common Mistakes (3 of 6)Using symbols in place of textMore difficult to read symbols than textReader must flip through report to see symbol mapping to textEven if “save” writers time, really “wastes” it since reader is likely to skip!Y=1Y=3Y=51 game/sec3 games/sec5 games/secPlayer arrival rateGame launch rate

37. 37Common Mistakes (4 of 6)Placing extraneous information on chartGoal to convey message, so extra information distractinge.g., Using gridlines only when exact values needede.g., Showing “per-user” data when only average user data needed

38. Common Mistakes (5 of 6)Selecting scale ranges improperlyMost prepared by automatic rulesGive good first-guessButMay include outlying data points, shrinking bodyMay have endpoints hard to read since on axisMay place too many (or too few) ticsIn practice, (almost) always over-ride scale values38https://goo.gl/jC9QrA

39. 39Common Mistakes (6 of 6)Using line chart instead of column chartLines joining successive points signify that they can be approximately interpolatedIf don’t have meaning, should not use line chartjungletopmidsupportMIPS- No linear relationshipbetween champion types Instead, use columnchart

40. Misleading Charts

41. 41Non-Zero Origins to Emphasize(1 of 3)Normally, both axes meet at originBy moving and scaling, can magnify (or reduce!) differenceMINEYOURS26002610MINEYOURS05200Which graph is better?

42. Non-Zero Origins to Emphasize(2 of 3)Dun’s Review, 1938

43. 43Non-Zero Origins to Emphasize(3 of 3)Choose scale so that vertical height of highest point is at least ¾ of the horizontal offset of right-most pointThree-quarters rule(And represent origin as 0,0)MINEYOURS02600

44. 44Using Double-Whammy GraphTwo curves can have twice as much impactBut if two metrics are related, knowing one predicts other … so use one!Response TimeGoodputNumber of Users

45. 45Plotting Quantities without Measure of SpreadWhen random quantification, representing mean (or median) alone (or single data point!) not enoughMINEYOURSMINEYOURS(Worse)(Better)

46. 46Pictograms Scaled by HeightIf scaling pictograms, do by area not height since eye drawn to areae.g., twice as good  doubling height quadruples areaMINEYOURSMINEYOURS(Worse)(Better)

47. 47Using Inappropriate Cell Size in HistogramGetting cell size “right” always takes more than one attemptIf too large, all points in same cellIf too small, lacks smoothness0-22-44-66-88-10Frequency0-66-10FrequencySame data. Left is “normal” andright is “exponential”

48. 48Using Broken Scales in Column ChartsBy breaking scale in middle, can exaggerate differencesMay be trivial, but then looks significantSimilar to “zero origin” problemSystem A-FSystem A-F

49. 49Pictorial Games (1 of 2)Can deceive as easily as can convey meaning

50. Pictorial Games (2 of 2)Can deceive as easily as can convey meaning