PSY 463 Data Visualization — Transcript
Full transcript
- 0:00hi everyone it's dr e thanks for joining
- 0:03us today
- 0:06today's guest lecture will be brought to
- 0:07you by tamara scootsky tamara is a
- 0:10graduate student at san francisco
- 0:11state's psychology department and
- 0:13collaborating with me on this lecture
- 0:15tamara just completed an internship
- 0:17where she focused on data visualization
- 0:20and is here to give a few tips about how
- 0:22it relates to human factors take it away
- 0:24tamara
- 0:26okay so welcome my name is tamara and
- 0:29today i will be talking about data
- 0:31visualization
- 0:33this is of course a big topic so this
- 0:35will just be a brief introduction
- 0:40where are we going today first i'll talk
- 0:42about choosing a graph type a couple
- 0:44common options and generally when you
- 0:46might want to use them
- 0:48and then also we'll go through a
- 0:49visualization example just a couple
- 0:52quick tricks to get your message across
- 0:54more clearly
- 0:56so starting with common graphs and when
- 0:58to use them
- 1:00first we have bar charts so bar charts
- 1:03answer the question of how many are
- 1:05there and this is based on categorical
- 1:07variables
- 1:08so you can see in this chart here we
- 1:10have
- 1:11a department names on the left and
- 1:15the status of performance reviews on the
- 1:17top and the number in each category here
- 1:21and if we graph this that looks
- 1:22something like this so we see our
- 1:24departments and then we see how many of
- 1:27each performance review status have been
- 1:29completed
- 1:31we can also consider the rows and
- 1:32columns so this is the same information
- 1:34but graph the other way around where the
- 1:37status of performance reviews is on the
- 1:40x-axis and then we have the height of
- 1:43the bar showing
- 1:45the departments that are in each
- 1:47category
- 1:50another thing we have are distributions
- 1:52so we can use box plots and also
- 1:54histograms and these use continuous
- 1:57variables but they can include
- 2:00categorical variables so you see here we
- 2:03have data on sales and with marketing
- 2:05and we have the number of performance
- 2:07reviews submitted
- 2:08um or actually the scores rather
- 2:11on the right hand column so
- 2:13if we have a categorical variable for a
- 2:16histogram that would either need to be
- 2:18grouped so in this case we're doing the
- 2:20whole sales and marketing function
- 2:22in one
- 2:24but you could also do multiple
- 2:25histograms next to each other
- 2:28or for a box plot it's easier to put
- 2:30those next to each other and start to
- 2:32see the way the distributions
- 2:34look
- 2:34together
- 2:36and just a note not to be confused with
- 2:38bar graphs so a histogram maybe looks
- 2:41similar but this is for continuous
- 2:43information
- 2:44whereas these are for discrete
- 2:46categorical information
- 2:49so then we have line chart line graphs
- 2:52these are usually
- 2:53to look at um a change in information
- 2:56but usually over time
- 2:58so here we've got our original
- 2:59categorical data and the original chart
- 3:01that goes along with that
- 3:03and if you're using a program like excel
- 3:06as i was you can actually just put this
- 3:08into a line graph instead and you can
- 3:10see for example this yellow bar
- 3:13this line is following the same line of
- 3:16these bars but this doesn't really help
- 3:19us see anything more clearly
- 3:21it's not clear why we would use lines
- 3:23for this information
- 3:25in this way
- 3:26but if we were instead to have
- 3:29the information over time so review
- 3:31status over time
- 3:34so how many are submitted over time how
- 3:36many are ineligible and incomplete we
- 3:38start to see a little more of a picture
- 3:40here
- 3:41and we could also do the same for
- 3:44reviews over time by group so how many
- 3:46are submitted for each group
- 3:48and of course in this case um this is
- 3:51the graph changes so you have to have
- 3:56the dates on one side of your chart um
- 4:00so again this is this is made up data
- 4:02and i'm i'm able to play around with
- 4:06what it looks like for the purposes of
- 4:08this demonstration but you would want to
- 4:10consider do i have
- 4:12graphical
- 4:13do i have categorical data or do i have
- 4:15it over time
- 4:17next we'll talk briefly about scatter
- 4:19plots this is the relationship between
- 4:20continuous data variables so in this
- 4:23case um we've got 2020 performance data
- 4:26and 2021 performance data so do they
- 4:29relate and you can see in this case they
- 4:31relate quite a bit
- 4:33and finally pie charts my note here is
- 4:35usually it's better to use a bar graph
- 4:37you can see
- 4:38the same data here submitted by
- 4:41department
- 4:43and
- 4:44you know that's fine we have a little
- 4:45bit of a picture of what's going on here
- 4:47but it's actually hard for the brain to
- 4:49really parse out pieces of a circle it's
- 4:52just not that easy
- 4:53and if we put that same information back
- 4:56in our original bar graph
- 4:58it's actually easier to tell okay sales
- 5:00and i t have the exact same number and
- 5:02how much less is marketing and how much
- 5:04more are executives it's a lot easier to
- 5:06tell in a bar graph so unless you have a
- 5:08really good example stick away from pie
- 5:11charts
- 5:13so with that we'll move into a
- 5:15visualization example
- 5:17and as we i've been using you know made
- 5:20up performance data so we'll just stick
- 5:21with that we're going to look at
- 5:22performance data by group over time
- 5:26so here we have a table in apa format
- 5:28and i put it this way because we're used
- 5:30to seeing information this way in
- 5:33academia
- 5:34it is a good way to have a standardized
- 5:37format for information it looks clean
- 5:40and it's a great way in a scientific
- 5:42community for us to present information
- 5:45in a way that is relatively unbiased
- 5:48this data is not telling the reader what
- 5:51to see it's just giving the information
- 5:53in a very structured format and it's up
- 5:56to the viewer to
- 5:58sort of look at this descriptive
- 5:59information and parse out the
- 6:00information based on what you've written
- 6:02and maybe come to their own conclusions
- 6:04too
- 6:05so when we are in a business context we
- 6:07often want to visualize we want actually
- 6:09our business leader not to have to do
- 6:11that much work when they look at the
- 6:13data
- 6:15to be able to tell what you're talking
- 6:16about
- 6:17and so we usually want to graph which is
- 6:20what we just talked about
- 6:21so in this case we've we have
- 6:24information over time you can see here
- 6:26so we're going to start with a bar graph
- 6:28i mean a line graph
- 6:30um whoops let's go back
- 6:32so so we're going to go into line graph
- 6:35but my title here good visualization
- 6:37goes beyond graphing
- 6:38just taking this exact information and
- 6:41sticking it into a line graph we
- 6:43actually yes we can see trends that we
- 6:46couldn't have
- 6:47parsed out just by looking at this chart
- 6:50but actually this still takes a lot of
- 6:52effort for the viewer to understand what
- 6:55is interesting to look at here why am i
- 6:57looking at this chart we still have a
- 6:59very descriptive title we have all these
- 7:01crazy colors going on and it's actually
- 7:03not clear what am i supposed to take
- 7:05away
- 7:07so our steps to storytelling
- 7:08storytelling with data giving getting a
- 7:11message really across in an image based
- 7:14on your data
- 7:15these are not the only steps you could
- 7:17do more but i think the key easiest
- 7:20baseline steps are to
- 7:22you know use graphs to first explore
- 7:25your data and understand what is it that
- 7:27i do want the viewer to take away and
- 7:29then once you've done that highlight
- 7:31that information add an active title
- 7:34and then generally for the visual reduce
- 7:36clutter and use color and proximity to
- 7:39label so we'll go through each of those
- 7:40steps now
- 7:42so understand and highlight the
- 7:43takeaways
- 7:44here's our original graph
- 7:46and
- 7:47um
- 7:48you know we can look at it and start to
- 7:50see a few things so things i notice are
- 7:52that these two lines go really high
- 7:54these two lines go really low
- 7:56and then these ones are all grouping
- 7:58here
- 7:59so i could be interested in any of those
- 8:01things here's an example where i get
- 8:03interested in the highs and the lows
- 8:06of course i could have just been
- 8:07interested in the groups that are rising
- 8:09could have just been interested in the
- 8:10groups that are falling or i could even
- 8:13be interested in this middle line the
- 8:15overall trend
- 8:16i could be like wow you know if i were
- 8:18to actually add an overall trend it
- 8:21would be pretty flat in there and maybe
- 8:23that's the thing i want to highlight
- 8:25that there is no change in the overall
- 8:26trend despite these crazy looking bulbs
- 8:32so once i've highlighted my
- 8:34my takeaways my
- 8:36what i want the viewer to actually see
- 8:38when they just glance at the graph i
- 8:40should actually add an active title to
- 8:42go with it so this one is very
- 8:43descriptive the percent of performance
- 8:45reviews submitted for each griz business
- 8:48group across four fiscal years yes
- 8:50that's what's happening here but it
- 8:52doesn't tell me what is what the message
- 8:55is
- 8:56instead i could say something like
- 8:57percent of performance to be submitted
- 8:59soars in some groups and plummets in
- 9:02others
- 9:02yes it's a little bit like a newspaper
- 9:05headline but the point of that is that
- 9:08now i have both the text and the colors
- 9:12and they are telling me as the viewer
- 9:13what is interesting about this graph
- 9:16here's the same example in a different
- 9:18example
- 9:19average percent performance reviews
- 9:21submitted returns to
- 9:232017-2018 levels so i see now i read
- 9:27that and then i look at this graph and
- 9:28i'm like you're right it has come down
- 9:30to the same as it was before
- 9:33and of course i could do many other
- 9:36versions of this graph there could be
- 9:38other things that interest me i could
- 9:40instead of having this overall line be
- 9:42the way it is i could have it be a
- 9:45an average across the years a flat line
- 9:47and change my title accordingly
- 9:51so
- 9:52it's really up to you as the analyst to
- 9:56do that exploration understand what you
- 9:58want the viewer to take away and then
- 10:00design your graph to actually relay that
- 10:04message
- 10:06once we've done that we want to
- 10:08just reduce or improve the visualization
- 10:11a bit from a just like purely graphical
- 10:15visualization visual perspective
- 10:17so
- 10:18reducing visual clutter is a great way
- 10:20to do that when we look at a graph what
- 10:22does not need to be there is a great
- 10:24question to ask ourselves so one thing i
- 10:26see for sure
- 10:27are all of these decimal points that .00
- 10:31tells me nothing
- 10:32also generally speaking grid lines do
- 10:34not need to be there so those are two
- 10:36things that i'm going to take off
- 10:37straight off the bat
- 10:39other things i would say that i didn't
- 10:41do here but we have percent in the title
- 10:43so we could actually get rid of this
- 10:45percent bar here
- 10:47or vice versa we could get rid of
- 10:50percent of up here if we want to leave
- 10:52it here but we don't generally want
- 10:54information to be duplicated in a graph
- 10:57there's enough to see
- 10:58that is important so we don't need
- 11:00extraneous information
- 11:02finally use color and visual proximity
- 11:04so instead of having
- 11:06the
- 11:07um
- 11:08legend at the bottom where somebody has
- 11:10to look here see oh green bars are going
- 11:13up what does that mean and then
- 11:15go across oh green bars are this high
- 11:18what does that mean we can actually
- 11:20stick that all
- 11:22right by the bar so somebody looking at
- 11:24it can see oh 70 80 this is sales and
- 11:27marketing twenty to forty percent this
- 11:29is other groups and average five to ten
- 11:31percent this is hr and general
- 11:33operations boom you see what exactly
- 11:36what you wanna see right away it's much
- 11:38easier for the viewer to understand the
- 11:40information
- 11:42so
- 11:43overall we want to choose the right
- 11:45graph so here's our table of information
- 11:48we want to make that into a picture
- 11:51but to make it from any picture to a
- 11:53pretty picture we also want to
- 11:55understand and highlight the key
- 11:56takeaways
- 11:58add an active title reduce our visual
- 12:00clutter and use color and visual
- 12:02proximity and that is what gets us from
- 12:04this picture which is
- 12:06hard to understand to a picture like
- 12:09this which is easy to take away
- 12:12and of course as i mentioned this is
- 12:15it's in a business context this is a
- 12:17leading graph i am telling the viewer
- 12:20exactly what i want them to see
- 12:22um and it is you could say it is biased
- 12:25but our point
- 12:26in this example is not
- 12:29for the viewer to
- 12:32spend time coming to their own
- 12:34conclusions my job as an analyst is to
- 12:36understand and explore and
- 12:40know what's relevant to the business and
- 12:42then present that information in a way
- 12:44that somebody else a decision maker can
- 12:46see it and believe it or not believe it
- 12:49very quickly and ask the questions they
- 12:51need to ask accordingly
- 12:55thank you tamara and i hope you enjoyed
- 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.