We learned how to generate a bar chart in the previous lesson. Now we’ll enhance that chart with more information using the Marks Card. We’ll walk through the cheat sheet on the right to see what each component does.
In Tableau, we can change aesthetic properties by dragging a field to one of the tiles on the Marks Card: Color, Size, Label, Detail (sometimes labeled Text), or Tooltip. We can change the chart type by selecting a chart in the Chart Dropdown. Let’s try some out!
- Let’s make some customizations to our bar chart from the Movie Profitability datasheet. First, make (or remake) the simple bar chart by dragging
Genreto the Columns Shelf and
AVG(Ratings)to the Rows Shelf.
Genreto the Color Mark and click the Color icon to assign a color palette to the data items.
- Next, click the Size mark and adjust the slider to make our bars thinner.
- Drag the
Rotten Tomatoes %field to the Label mark to display the average % labels with the corresponding bars. (Remember to change it to
SUM()so that the correct information is displayed.
- To add information about audience ratings, drag
Audience Score %to the Detail mark. This will generate information about (again, remember to change to average so the measure is consistent with
Rotten Tomatoes %) audience ratings. Your bar chart should look something like this: Congratulations! You customized your first viz.
- Optional: Using the same dataset, create another viz with data fields of your choice. Make customizations to at least 2 marks properties of your choice. What did you choose and why? Think about how these modifications improve your viz. We’re now getting the hang of vizzing! Next up, we’ll learn about adjusting presets to make our visualizations look even more original.