Learning Objectives
After completing this unit, you’ll be able to:
- Explore other chart types.
- Edit an axis.
- Use a circle chart to look at trends.
- Use a line chart to communicate trends over time.
Check: Connect Your Tableau Public Account
If you haven’t already, or if the playground has timed out, log into your Tableau Public account in the Playground window to the right. If you don’t already have a Tableau Public account, sign up for one now, and be sure to activate your account before starting this interactive unit. You can find more detailed instructions in The Tableau Data Model.
Question for Analysis: Are There Any Trends in Viewership and Ratings?
Bar charts are a stupendous way to visualize data, but they aren’t the only option by far. Let’s switch to another set of fields and another chart type entirely to look at other trends in viewership and ratings.
- Create a new sheet. Tip: Click the New Sheet icon next to the sheet tab Ratings Per Episode.
- Double-click My Viewership in the Data pane to add it to the viz. Tip: If you're not sure what table to expand to find a field you want, try using the search bar.
- Double-click My Rating in the Data pane to add it to the viz.
Why is there only one dot in the scatter plot?
Well, you’re looking at the average rating by total viewership—across all episodes in all seasons of the show. How can you change this to show us more detail? Add a field to detail!
- You need to tell Tableau the level of detail you want in the viz. For this set of fields, Season Episode makes the most sense. Drag Season Episode to Detail on the Marks card. Tip: at the very bottom left of the screen, under the Data Source tab, there’s a status bar that shows the number of marks. It should be 134 marks. If you don't have 134 marks, verify what fields you’re using.
Does SUM make sense to use for viewership?
Yes! Viewership is a cumulative metric. (For example, summing the viewers of each episode of a season gives meaningful information about the total viewership for the season. This is not the case for rating.) You can leave the aggregation alone for the viewership field.
The marks are all bunched up between 6 and 8 for ratings. Does the axis have to include zero to be accurate?
This is a potentially contentious issue, but here we feel OK saying no. Bar charts should always start at zero, but for line charts and scatter plots, sometimes starting at zero masks the differences that we care about. People don’t tend to use the full 0–10 rating scale, and a difference of 7.9 versus 8.5 is meaningful.
Starting at zero makes the relevant interval hard to see. However, always use caution when changing the scale or starting point of an axis. See Guidelines to Recognize Misleading Charts for more information.
- Right-click on the My Rating axis.
- Then, select Edit Axis…
- Uncheck the box for Include zero.
- Click the X to close the dialog.
The marks now spread to fill more of the chart.
Question for Analysis: Does the Network Impact Viewership and Ratings?
To explore this question, you use filled circles to represent network impact.
- Drag Network from the data pane to Color on the Marks card. Tip: If you’re not sure what table to expand to find a field you want, try using the search bar.
The marks are now colored according to the Network. You can do some quick formatting to make the marks more easily distinguished.
- Click Shape on the Marks card.
- Then click the filled circle.
- Click away to close the control.
- Click Color on the Marks card and set the opacity to 80%. This makes it easier to see when marks are stacked on each other.
- Click Size on the Marks card and set the size at 35%, or whatever looks good to you.
It looks like there are distinct clusters for each network. BBC Two, in orange, has lower viewership but high ratings. BBC One, in blue, has high viewership and high ratings. And Channel 4, in red, has middling viewership with some high ratings but it also has the lowest rated episodes.
- Double-click the words Sheet 4 at the bottom and rename the sheet
Network Trends
.
Question for Analysis: How Does This Relate to When the Show Was on Each Network?
Let’s try to suss out the analysis using a line chart.
- Create a new sheet.
- Drag Airdate to Columns.
- Drag My Viewership to Rows.
- Drag Network to Color.
What does the viz tell you?
(Remember, this is made-up data for training purposes.)
The show started on BBC Two, and the viewership grew each year. In 2014 the network switched to BBC One and viewership continued to grow. In 2017 the network again switched, this time to Channel 4, and the viewership dropped. Channel 4 struggled a bit with viewership, with a bump in 2020 and the lowest viewership in 2022. However, the latest season in 2023 picked back up and is comparable to 2014’s viewership.
- Name this sheet
Viewership Over Time
. Make sure you're on this sheet when you check the challenge.
Sum It Up
Congratulations. Throughout this unit, you explored key concepts in data analysis—how it’s a flexible cycle rather than a wizard-like series of steps, how finding the right visuals and minding the details help you communicate the right data. But perhaps most importantly, you need to be curious and keep asking questions, check your assumptions as you go along, and not be afraid to make mistakes.