1. Home
  2. Explore
  3. Statistics
  4. Effective Data Visualization

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Effective Data Visualization

Transcript

Jo Klein (they/them): So our next presenter is Thilani Samarakoon. Jo Klein (they/them): With tips to effective data visualization. Thilani Samarakoon: Good morning everyone. Can everyone see my screen? Jo Klein (they/them): Yes. Thilani Samarakoon: Okay, great. So I'm going to go ahead and get started. Again, good morning, everyone. Thank you all for joining my presentation today. Thilani Samarakoon: My name is Thilani Samarakoon and I work as the biomedical data librarian at the University of Miami Libraries. Today my presentation is focused on Thilani Samarakoon: Tips to create effective data visualization. So it's a general topic.

Thilani Samarakoon: I teach data visualization workshops are using R and Tableau, so during my classes I talked about good practices in creating plots and tables. Thilani Samarakoon: So data visualization. It is the visual presentation of data and an essential step in data analysis. So data visualization help both you and your audience interpret and understand data.

Thilani Samarakoon: Okay. Thilani Samarakoon: So we can use graphs to visualize data. There are different types of graphs. They can be interactive and one could look more attractive than the other. So how do we select the right graph? Thilani Samarakoon: We use graphs and tables to help our audience understand complex data, identify trends, and tell a story. So we have to select a graph that could best serve this purpose.

Thilani Samarakoon: So what factors do we need to consider when creating a visualization. First of all, we should know the audience. What's the skill set of your audience. Do they have time to go through all the plots and tables that you have created or will they prefer a concise summary. Thilani Samarakoon: Then how do we choose the right plot. So there are multiple chart types. So think of the message you are delivering to the audience. Are you doing a comparison or showing that trend in your data set? So I will go through a few examples during my presentation to explain this better.

Thilani Samarakoon: So avoiding clutter. It allows the audience to focus on the message you're trying to deliver. Grid lines, legends, background colors, sometimes access labels can distract the viewer from quickly seeing the overall trends. Thilani Samarakoon: And use of color, highlighting, and size are important factors when it comes to focusing the attention of the audience on the visualization.

Thilani Samarakoon: For example, relative size could denote relative importance and you can leverage color as a strategic tool to highlight the important parts of your visual, so I will go through examples again. Thilani Samarakoon: Okay. Thilani Samarakoon: Okay, so this is the first example. So I'm going to go through this example. So here we are looking at the number of tickets received at the help desk.

Thilani Samarakoon: We have the month in the Thilani Samarakoon: X axis and the y axis shows the number of tickets or request received at the help desk and we want to know how we are keeping up with the incoming volume of tickets. Thilani Samarakoon: So I will start by plotting one of the most popular type of plots or graphs: a bar graph. So at first glance, it is difficult to identify any trends here. Right. Now I want to move to my next slide. Okay.

Thilani Samarakoon: Great. Thilani Samarakoon: Now I'm changing my bar graph to a line graph. Now you can see that we are falling behind in processing Thilani Samarakoon: Their tickets. So initially we were keeping up with the ticket processing. But after May Thilani Samarakoon: We started to fall back. So this trend can be identified only after plotting the line graph, we didn't see this in the bar graph.

Thilani Samarakoon: But still there is some clutter in this graph, so we can remove the clutter by shortening the name. So for the month eliminating the decimals and the grid lines. Thilani Samarakoon: It is good practice to leave the background white. The other important point I want to emphasize is the color legends. When I named the lines on the graph itself you can easily correlate the colors with the legends.

Thilani Samarakoon: So here we will look at an example where we highlight our data. If you want to talk about the statistics for a particular month you can highlight that month. Thilani Samarakoon: So we may look at the differences between the before and after graphs. So I'm interested in July statistics. So by highlighting I can focus the audience's attention on July.

Thilani Samarakoon: So in the second graph I choose to display the labels on the box. Now I can remove the axis labels and the tick marks. Thilani Samarakoon: So this removes some clutter from the graph, and it is easier for the audience to process the information because now they don't have to read the y axis and try to find out what these numbers are because it's right there on the colors.

Thilani Samarakoon: Okay. Thilani Samarakoon: So in this slide, I am presenting the percentage of profit of sales in a company in different regions. Thilani Samarakoon: So pie charts are difficult to read. And you may not be able to gather a lot of information from them because our brain is not very good at comparing the size of angles. But if you look at the bar graph, it is clear that we have the most profit from the south.

Thilani Samarakoon: This information is visible because I arranged the columns in descending order. Thilani Samarakoon: So sorting your columns in the ascending or descending order again helps the audience to quickly compare the box and do not use for different colors for the box and avoid using multiple colors when possible. Thilani Samarakoon: And it is discouraged to use pie charts, especially 3D pie charts, to demonstrate data in this format. Sometimes you might have seen 3D bar charts.

Thilani Samarakoon: You can always avoid 3D charts if they do not add value to our visualization. Thilani Samarakoon: So when it comes to tables, you can again use highlighting and colors. So these tables show the profit percentage for regions from January to April. Thilani Samarakoon: You can use highlighting or colors right here to focus the attention of the audience on a particular cell in a table. So it's the same table. The only difference is I have used colors in the second one.

Thilani Samarakoon: And it is clear which regions have lost money. Thilani Samarakoon: And which regions made profit. So here, colors helped our eyes to quickly target the potential sales of interest. The coloring density is used to show the importance Thilani Samarakoon: And it is good practice to use soft colors to display most information, and bright and/or dark colors to highlight information that requires greater attention.

Thilani Samarakoon: So this Thilani Samarakoon: chart here shows the results of a survey given to students before and after a program before and after a program to find out how they feel about science. So what this plot contains the same information. The pie charts and the bar graphs. Thilani Samarakoon: So the first chart shows the student response before the program and the second chart shows the student responses after the program.

Thilani Samarakoon: The pie charts are difficult to read and color is the distraction here. It doesn't show us any conclusions, right, unless we take the time and effort to understand it. Thilani Samarakoon: Now we will focus our attention on the second chart. Here the text is used to explain the before and after findings and color is used to show the importance.

Thilani Samarakoon: The label. So they labeled the bars are with the percentages right here. Thilani Samarakoon: It is a lot easier for the audience to read the percentages, rather than trying to figure out the numbers using the tick marks on y axis. Thilani Samarakoon: And it has a heading saying the pilot program was a success. Now, we don't have to study the charts to know the conclusion. Thilani Samarakoon: It may have been difficult for the audience to know the conclusion if the first two charts was our presented. So simplicity is again the key to create a great visualization.

Thilani Samarakoon: Okay. Thilani Samarakoon: So this is the dashboard. So after we create these graphs and tables, we can use data dashboards to tell a story. So data dashboards organize and display relevant information from multiple Thilani Samarakoon: Data sources into one. So, you will have several plots and tables in one dashboard. You can add text any measures to a dashboard. So here, we must align our visualizations to facilitate comparison. This is not a very good layout, because it's difficult for the audience to follow a flow.

Thilani Samarakoon: So visual order is an essential factor Thilani Samarakoon: In a good dashboard. Here there is less colors and using white spaces improves visual success. Jo Klein (they/them): Three Minute Warning. Thilani Samarakoon: So this is, there's too much going on in this dashboard. Again, select colors carefully. Your graphs do not need to be multicolored, be consistent with colors across graphs. Thilani Samarakoon: And remove clutter from the graphs. Every element you add to the dashboard takes up cognitive load on the part of your audience. So, identify things that are unnecessarily taking up brain power and remove them.

Thilani Samarakoon: Okay, this is my example of a good dashboard. So they have used colors to emphasize specific finding, it simple and easy to read. Thilani Samarakoon: Okay. Oh, I'm sorry. I skipped one Thilani Samarakoon: So I would like to recommend this book. If you're interested in learning more about this topic. And there are a lot of resources out there. Thilani Samarakoon: If you're interested in learning more about creating good visualizations and dashboards.

Jo Klein (they/them): Thank you, Thilani. Thilani Samarakoon: Yeah, so I would conclude my presentation saying don't simply show your data, but try to tell a story with it. I hope these tips will help you with that approach. Thank you. And if you have any questions. Yeah, I'm happy to answer you can write to me. Thilani Samarakoon: My email is right there on the slide. Thilani Samarakoon: Thank you all for your time.

Jo Klein (they/them): I'm going to type in your email into the chat. Real quick, just so folks can copy paste it. I do have one question in the chat from Daureen who asked, would you please go back one slide. So I can see the book title. Thilani Samarakoon: Oh yeah, sure. Thilani Samarakoon: It's a very interesting read I I really enjoyed it. Because we think we all, you know, know all these tips but we kind of forget when we are creating our visualizations to incorporate them into the visualization. So this book helped me a lot. Thilani Samarakoon: Especially for my teaching.

Jo Klein (they/them): Oh goodness, I just had to press my mute button three times. I've also put the name of the book into, or the title of the book into the chat as well for people to copy paste. Jo Klein (they/them): Thank you so much, Thilani, for a great presentation. I don't see any questions in the Q and A yet, but we'll hang on for a little bit to see if any show up. Jo Klein (they/them): I always love seeing the different comparisons between the pie charts and the bar charts and how it's really helpful if you order things by order of, you know, what's highest to lowest.

Thilani Samarakoon: Yeah, exactly. Thilani Samarakoon: Yeah, I think, yeah, sometimes I think Thilani Samarakoon: When we know our data. It's, you know, when we create plots, we could easily interpret it because we already familiar with the data we are working with Thilani Samarakoon: But when you are presenting it to someone else, they are seeing it for the first time, right, so they find it difficult Thilani Samarakoon: To navigate through all the plots that you have created because I have, you know, sat in, I come from like a research background. So I've Thilani Samarakoon: I've sat in presentations, where I've tried, like, taken my time to understand some graphs and plots. So that's why I thought this would be an interesting topic.

Jo Klein (they/them): Yeah, alrighty, and we do have a question. So Kay asks, very good practical advice. Are there any variations that might be appropriate for different audiences? So, for example, undergrad versus graduate or different disciplines. Thilani Samarakoon: Yeah, so Thilani Samarakoon: It really depends on Thilani Samarakoon: On the project, the data you have, um, I think, I think that's the key. You always think what you want to present for your audience, right, and who your audience is so it will really depend on this specific need.

Thilani Samarakoon: I think Jo Klein (they/them): I was muted. Thank you. Amy says, there were many good and useful tips here. Thanks for a great talk. And Alicia asks, it can be very tricky to make elaborate visualizations accessible while leveraging all of the visual tools at our disposal. Do you have any suggestions for this? Thilani Samarakoon: You mean like a specific tool that you can use. So, um,

Thilani Samarakoon: So I use Tableau to create most of the visualizations here that you see. The reason is, Tableau it comes, it gives free licenses for any academic Thilani Samarakoon: Institutes, anyone affiliated with an academic Institute. and it's um it's it's easier to use, because I teach R workshops, but in R, you have to do coding. So you need a little bit of like a background to do that but Thilani Samarakoon: Tableau it's it's more straightforward, I would say, like, you know, dragging and dropping fields to create visualizations.

Jo Klein (they/them): Thank you. Alicia, does that answer that? I just want to make sure. Jo Klein (they/them): And we still have two more minutes until the next short talk. So if you have questions, please put those into the Q and A. General discussion or thank you for the presentation, feel free to put those in the chat. Those don't have to go into Q and A.

Jo Klein (they/them): Okay, and Alicia clarifies, so when she says it can be very tricky to make elaborate visualizations accessible. She means, so things like the inability to distinguish colors, putting in alt text. Things for accessibility purposes. Jo Klein (they/them): So I guess I have a kind of clarification of that question for me is, do you know if Tableau has specific tools for that or are there specific tools for making data visualization accessible, that you like to use? Thilani Samarakoon: Yes yes they do, like, let's see, they have specific, like, color palettes. If you are working with, working. If you are preparing Thilani Samarakoon: Presentations, and you feel concerned about the color blind audience, they they offer specific tools for that. Jo Klein (they/them): Thank you.

Jo Klein (they/them): Alrighty, and we're coming up on 10:40, so thank you so much again Thilani.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent