YouTube2Text

PSY 463 Data Visualization — Transcript

by Esch · 2,211 words · 359 segments · language en · Watch on YouTube

Full transcript

  1. 0:00hi everyone it's dr e thanks for joining
  2. 0:03us today
  3. 0:06today's guest lecture will be brought to
  4. 0:07you by tamara scootsky tamara is a
  5. 0:10graduate student at san francisco
  6. 0:11state's psychology department and
  7. 0:13collaborating with me on this lecture
  8. 0:15tamara just completed an internship
  9. 0:17where she focused on data visualization
  10. 0:20and is here to give a few tips about how
  11. 0:22it relates to human factors take it away
  12. 0:24tamara
  13. 0:26okay so welcome my name is tamara and
  14. 0:29today i will be talking about data
  15. 0:31visualization
  16. 0:33this is of course a big topic so this
  17. 0:35will just be a brief introduction
  18. 0:40where are we going today first i'll talk
  19. 0:42about choosing a graph type a couple
  20. 0:44common options and generally when you
  21. 0:46might want to use them
  22. 0:48and then also we'll go through a
  23. 0:49visualization example just a couple
  24. 0:52quick tricks to get your message across
  25. 0:54more clearly
  26. 0:56so starting with common graphs and when
  27. 0:58to use them
  28. 1:00first we have bar charts so bar charts
  29. 1:03answer the question of how many are
  30. 1:05there and this is based on categorical
  31. 1:07variables
  32. 1:08so you can see in this chart here we
  33. 1:10have
  34. 1:11a department names on the left and
  35. 1:15the status of performance reviews on the
  36. 1:17top and the number in each category here
  37. 1:21and if we graph this that looks
  38. 1:22something like this so we see our
  39. 1:24departments and then we see how many of
  40. 1:27each performance review status have been
  41. 1:29completed
  42. 1:31we can also consider the rows and
  43. 1:32columns so this is the same information
  44. 1:34but graph the other way around where the
  45. 1:37status of performance reviews is on the
  46. 1:40x-axis and then we have the height of
  47. 1:43the bar showing
  48. 1:45the departments that are in each
  49. 1:47category
  50. 1:50another thing we have are distributions
  51. 1:52so we can use box plots and also
  52. 1:54histograms and these use continuous
  53. 1:57variables but they can include
  54. 2:00categorical variables so you see here we
  55. 2:03have data on sales and with marketing
  56. 2:05and we have the number of performance
  57. 2:07reviews submitted
  58. 2:08um or actually the scores rather
  59. 2:11on the right hand column so
  60. 2:13if we have a categorical variable for a
  61. 2:16histogram that would either need to be
  62. 2:18grouped so in this case we're doing the
  63. 2:20whole sales and marketing function
  64. 2:22in one
  65. 2:24but you could also do multiple
  66. 2:25histograms next to each other
  67. 2:28or for a box plot it's easier to put
  68. 2:30those next to each other and start to
  69. 2:32see the way the distributions
  70. 2:34look
  71. 2:34together
  72. 2:36and just a note not to be confused with
  73. 2:38bar graphs so a histogram maybe looks
  74. 2:41similar but this is for continuous
  75. 2:43information
  76. 2:44whereas these are for discrete
  77. 2:46categorical information
  78. 2:49so then we have line chart line graphs
  79. 2:52these are usually
  80. 2:53to look at um a change in information
  81. 2:56but usually over time
  82. 2:58so here we've got our original
  83. 2:59categorical data and the original chart
  84. 3:01that goes along with that
  85. 3:03and if you're using a program like excel
  86. 3:06as i was you can actually just put this
  87. 3:08into a line graph instead and you can
  88. 3:10see for example this yellow bar
  89. 3:13this line is following the same line of
  90. 3:16these bars but this doesn't really help
  91. 3:19us see anything more clearly
  92. 3:21it's not clear why we would use lines
  93. 3:23for this information
  94. 3:25in this way
  95. 3:26but if we were instead to have
  96. 3:29the information over time so review
  97. 3:31status over time
  98. 3:34so how many are submitted over time how
  99. 3:36many are ineligible and incomplete we
  100. 3:38start to see a little more of a picture
  101. 3:40here
  102. 3:41and we could also do the same for
  103. 3:44reviews over time by group so how many
  104. 3:46are submitted for each group
  105. 3:48and of course in this case um this is
  106. 3:51the graph changes so you have to have
  107. 3:56the dates on one side of your chart um
  108. 4:00so again this is this is made up data
  109. 4:02and i'm i'm able to play around with
  110. 4:06what it looks like for the purposes of
  111. 4:08this demonstration but you would want to
  112. 4:10consider do i have
  113. 4:12graphical
  114. 4:13do i have categorical data or do i have
  115. 4:15it over time
  116. 4:17next we'll talk briefly about scatter
  117. 4:19plots this is the relationship between
  118. 4:20continuous data variables so in this
  119. 4:23case um we've got 2020 performance data
  120. 4:26and 2021 performance data so do they
  121. 4:29relate and you can see in this case they
  122. 4:31relate quite a bit
  123. 4:33and finally pie charts my note here is
  124. 4:35usually it's better to use a bar graph
  125. 4:37you can see
  126. 4:38the same data here submitted by
  127. 4:41department
  128. 4:43and
  129. 4:44you know that's fine we have a little
  130. 4:45bit of a picture of what's going on here
  131. 4:47but it's actually hard for the brain to
  132. 4:49really parse out pieces of a circle it's
  133. 4:52just not that easy
  134. 4:53and if we put that same information back
  135. 4:56in our original bar graph
  136. 4:58it's actually easier to tell okay sales
  137. 5:00and i t have the exact same number and
  138. 5:02how much less is marketing and how much
  139. 5:04more are executives it's a lot easier to
  140. 5:06tell in a bar graph so unless you have a
  141. 5:08really good example stick away from pie
  142. 5:11charts
  143. 5:13so with that we'll move into a
  144. 5:15visualization example
  145. 5:17and as we i've been using you know made
  146. 5:20up performance data so we'll just stick
  147. 5:21with that we're going to look at
  148. 5:22performance data by group over time
  149. 5:26so here we have a table in apa format
  150. 5:28and i put it this way because we're used
  151. 5:30to seeing information this way in
  152. 5:33academia
  153. 5:34it is a good way to have a standardized
  154. 5:37format for information it looks clean
  155. 5:40and it's a great way in a scientific
  156. 5:42community for us to present information
  157. 5:45in a way that is relatively unbiased
  158. 5:48this data is not telling the reader what
  159. 5:51to see it's just giving the information
  160. 5:53in a very structured format and it's up
  161. 5:56to the viewer to
  162. 5:58sort of look at this descriptive
  163. 5:59information and parse out the
  164. 6:00information based on what you've written
  165. 6:02and maybe come to their own conclusions
  166. 6:04too
  167. 6:05so when we are in a business context we
  168. 6:07often want to visualize we want actually
  169. 6:09our business leader not to have to do
  170. 6:11that much work when they look at the
  171. 6:13data
  172. 6:15to be able to tell what you're talking
  173. 6:16about
  174. 6:17and so we usually want to graph which is
  175. 6:20what we just talked about
  176. 6:21so in this case we've we have
  177. 6:24information over time you can see here
  178. 6:26so we're going to start with a bar graph
  179. 6:28i mean a line graph
  180. 6:30um whoops let's go back
  181. 6:32so so we're going to go into line graph
  182. 6:35but my title here good visualization
  183. 6:37goes beyond graphing
  184. 6:38just taking this exact information and
  185. 6:41sticking it into a line graph we
  186. 6:43actually yes we can see trends that we
  187. 6:46couldn't have
  188. 6:47parsed out just by looking at this chart
  189. 6:50but actually this still takes a lot of
  190. 6:52effort for the viewer to understand what
  191. 6:55is interesting to look at here why am i
  192. 6:57looking at this chart we still have a
  193. 6:59very descriptive title we have all these
  194. 7:01crazy colors going on and it's actually
  195. 7:03not clear what am i supposed to take
  196. 7:05away
  197. 7:07so our steps to storytelling
  198. 7:08storytelling with data giving getting a
  199. 7:11message really across in an image based
  200. 7:14on your data
  201. 7:15these are not the only steps you could
  202. 7:17do more but i think the key easiest
  203. 7:20baseline steps are to
  204. 7:22you know use graphs to first explore
  205. 7:25your data and understand what is it that
  206. 7:27i do want the viewer to take away and
  207. 7:29then once you've done that highlight
  208. 7:31that information add an active title
  209. 7:34and then generally for the visual reduce
  210. 7:36clutter and use color and proximity to
  211. 7:39label so we'll go through each of those
  212. 7:40steps now
  213. 7:42so understand and highlight the
  214. 7:43takeaways
  215. 7:44here's our original graph
  216. 7:46and
  217. 7:47um
  218. 7:48you know we can look at it and start to
  219. 7:50see a few things so things i notice are
  220. 7:52that these two lines go really high
  221. 7:54these two lines go really low
  222. 7:56and then these ones are all grouping
  223. 7:58here
  224. 7:59so i could be interested in any of those
  225. 8:01things here's an example where i get
  226. 8:03interested in the highs and the lows
  227. 8:06of course i could have just been
  228. 8:07interested in the groups that are rising
  229. 8:09could have just been interested in the
  230. 8:10groups that are falling or i could even
  231. 8:13be interested in this middle line the
  232. 8:15overall trend
  233. 8:16i could be like wow you know if i were
  234. 8:18to actually add an overall trend it
  235. 8:21would be pretty flat in there and maybe
  236. 8:23that's the thing i want to highlight
  237. 8:25that there is no change in the overall
  238. 8:26trend despite these crazy looking bulbs
  239. 8:32so once i've highlighted my
  240. 8:34my takeaways my
  241. 8:36what i want the viewer to actually see
  242. 8:38when they just glance at the graph i
  243. 8:40should actually add an active title to
  244. 8:42go with it so this one is very
  245. 8:43descriptive the percent of performance
  246. 8:45reviews submitted for each griz business
  247. 8:48group across four fiscal years yes
  248. 8:50that's what's happening here but it
  249. 8:52doesn't tell me what is what the message
  250. 8:55is
  251. 8:56instead i could say something like
  252. 8:57percent of performance to be submitted
  253. 8:59soars in some groups and plummets in
  254. 9:02others
  255. 9:02yes it's a little bit like a newspaper
  256. 9:05headline but the point of that is that
  257. 9:08now i have both the text and the colors
  258. 9:12and they are telling me as the viewer
  259. 9:13what is interesting about this graph
  260. 9:16here's the same example in a different
  261. 9:18example
  262. 9:19average percent performance reviews
  263. 9:21submitted returns to
  264. 9:232017-2018 levels so i see now i read
  265. 9:27that and then i look at this graph and
  266. 9:28i'm like you're right it has come down
  267. 9:30to the same as it was before
  268. 9:33and of course i could do many other
  269. 9:36versions of this graph there could be
  270. 9:38other things that interest me i could
  271. 9:40instead of having this overall line be
  272. 9:42the way it is i could have it be a
  273. 9:45an average across the years a flat line
  274. 9:47and change my title accordingly
  275. 9:51so
  276. 9:52it's really up to you as the analyst to
  277. 9:56do that exploration understand what you
  278. 9:58want the viewer to take away and then
  279. 10:00design your graph to actually relay that
  280. 10:04message
  281. 10:06once we've done that we want to
  282. 10:08just reduce or improve the visualization
  283. 10:11a bit from a just like purely graphical
  284. 10:15visualization visual perspective
  285. 10:17so
  286. 10:18reducing visual clutter is a great way
  287. 10:20to do that when we look at a graph what
  288. 10:22does not need to be there is a great
  289. 10:24question to ask ourselves so one thing i
  290. 10:26see for sure
  291. 10:27are all of these decimal points that .00
  292. 10:31tells me nothing
  293. 10:32also generally speaking grid lines do
  294. 10:34not need to be there so those are two
  295. 10:36things that i'm going to take off
  296. 10:37straight off the bat
  297. 10:39other things i would say that i didn't
  298. 10:41do here but we have percent in the title
  299. 10:43so we could actually get rid of this
  300. 10:45percent bar here
  301. 10:47or vice versa we could get rid of
  302. 10:50percent of up here if we want to leave
  303. 10:52it here but we don't generally want
  304. 10:54information to be duplicated in a graph
  305. 10:57there's enough to see
  306. 10:58that is important so we don't need
  307. 11:00extraneous information
  308. 11:02finally use color and visual proximity
  309. 11:04so instead of having
  310. 11:06the
  311. 11:07um
  312. 11:08legend at the bottom where somebody has
  313. 11:10to look here see oh green bars are going
  314. 11:13up what does that mean and then
  315. 11:15go across oh green bars are this high
  316. 11:18what does that mean we can actually
  317. 11:20stick that all
  318. 11:22right by the bar so somebody looking at
  319. 11:24it can see oh 70 80 this is sales and
  320. 11:27marketing twenty to forty percent this
  321. 11:29is other groups and average five to ten
  322. 11:31percent this is hr and general
  323. 11:33operations boom you see what exactly
  324. 11:36what you wanna see right away it's much
  325. 11:38easier for the viewer to understand the
  326. 11:40information
  327. 11:42so
  328. 11:43overall we want to choose the right
  329. 11:45graph so here's our table of information
  330. 11:48we want to make that into a picture
  331. 11:51but to make it from any picture to a
  332. 11:53pretty picture we also want to
  333. 11:55understand and highlight the key
  334. 11:56takeaways
  335. 11:58add an active title reduce our visual
  336. 12:00clutter and use color and visual
  337. 12:02proximity and that is what gets us from
  338. 12:04this picture which is
  339. 12:06hard to understand to a picture like
  340. 12:09this which is easy to take away
  341. 12:12and of course as i mentioned this is
  342. 12:15it's in a business context this is a
  343. 12:17leading graph i am telling the viewer
  344. 12:20exactly what i want them to see
  345. 12:22um and it is you could say it is biased
  346. 12:25but our point
  347. 12:26in this example is not
  348. 12:29for the viewer to
  349. 12:32spend time coming to their own
  350. 12:34conclusions my job as an analyst is to
  351. 12:36understand and explore and
  352. 12:40know what's relevant to the business and
  353. 12:42then present that information in a way
  354. 12:44that somebody else a decision maker can
  355. 12:46see it and believe it or not believe it
  356. 12:49very quickly and ask the questions they
  357. 12:51need to ask accordingly
  358. 12:55thank you tamara and i hope you enjoyed
  359. 12:57this lecture about data visualization

About this transcript

This page contains the full transcript of PSY 463 Data Visualization by Esch, generated from the public captions YouTube serves with the video. The transcript has 2,211 words across 359 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.