One Dataset in 5 Visuals with Tableau
Data Visualization and Design | CUNY Graduate Center | Summer 2019
This tutorial is adapted from one written by Erin Waldron of Data Dozen
Goals
- Make clear and well reasoned design decisions
- Decide when to use interaction to enhance your project
- Control the look and feel of your dashboard
Data
This Tableau workbook that uses this dataset
Process
2 Dashboards for 2 questions
The first dashboard will answer general questions, the second will drill down into just one name.
- Duplicate the Female baby names Treemap and change Female to Male.
- Create a new dashboard
- Select Floating rather than Grid
- Drag the Scatterplot and 2 treemaps and arrange them accordingly
- Add text boxes and a title
The Second Dashboard
- Return to Data Source to Create Alias (link) on the Sex Column – name F Female & M Male
- Edit the Tooltips on both the line chart and bar chart
- Set up the search bar
- Return to Line Chart & Create Parameter
- Right-click in the Data window and then select Create Parameter.
- In the Create Parameter dialog box:
- Name the parameter. In the example workbook, the parameter is named Search Names.
- For Data Type, select String.
- For Current value, type Devon.
- For Allowable values, select All.
- Right-click the parameter and then select Show Parameter Control.
- Create the Calculated Field
- Select Analysis > Create Calculated Field
- In the Calculated Field dialog box that opens, name the calculated field ‘CALC: Dynamic Name’
- Enter the following formula:
CONTAINS([Name],[Search Names]
- Right-click the parameter and then select Show Parameter Control.
- Add this parameter next to SUM(Occurrences)
- Repeat for the bar chart
Make a new Story
- Drag the first dashboard to the first pane of the story
- Drag the second dashboard to the second pane
- Give the viewer instructions on how to read each pane.