In this section, we will explore advanced chart types in Tableau that go beyond the basic visualizations. These advanced charts can help you uncover deeper insights and present your data in more compelling ways.
Key Concepts
- Bullet Graphs
- Box Plots
- Gantt Charts
- Waterfall Charts
- Heat Maps
- Sparklines
- Bullet Graphs
What is a Bullet Graph?
A bullet graph is a variation of a bar chart designed to compare a single measure against a target value and performance ranges.
How to Create a Bullet Graph
- Connect to your data source and open a new worksheet.
- Drag a measure (e.g., Sales) to the Columns shelf.
- Drag a dimension (e.g., Region) to the Rows shelf.
- Right-click on the axis and select "Add Reference Line".
- Configure the reference line to show the target value.
- Drag the measure again to the Detail shelf to add performance ranges.
Example
Sales Target: $500,000 Performance Ranges: Poor (<$300,000), Average ($300,000-$500,000), Good (>$500,000)
- Box Plots
What is a Box Plot?
A box plot displays the distribution of data based on a five-number summary: minimum, first quartile, median, third quartile, and maximum.
How to Create a Box Plot
- Drag a measure (e.g., Profit) to the Rows shelf.
- Drag a dimension (e.g., Category) to the Columns shelf.
- Click on the Show Me panel and select the Box Plot option.
Example
- Gantt Charts
What is a Gantt Chart?
A Gantt chart is used to illustrate a project schedule, showing the start and end dates of tasks.
How to Create a Gantt Chart
- Drag a dimension (e.g., Task) to the Rows shelf.
- Drag a date field (e.g., Start Date) to the Columns shelf.
- Change the mark type to Gantt Bar.
- Drag another date field (e.g., End Date) to the Size shelf to represent the duration.
Example
- Waterfall Charts
What is a Waterfall Chart?
A waterfall chart helps in understanding the cumulative effect of sequentially introduced positive or negative values.
How to Create a Waterfall Chart
- Drag a measure (e.g., Profit) to the Rows shelf.
- Drag a dimension (e.g., Month) to the Columns shelf.
- Change the mark type to Gantt Bar.
- Drag the measure again to the Size shelf.
- Create a calculated field to show the running total.
Example
- Heat Maps
What is a Heat Map?
A heat map uses color to represent data values in a matrix format, making it easy to identify patterns and correlations.
How to Create a Heat Map
- Drag a measure (e.g., Sales) to the Columns shelf.
- Drag a dimension (e.g., Region) to the Rows shelf.
- Drag another dimension (e.g., Product) to the Color shelf.
- Adjust the color legend to represent different data ranges.
Example
- Sparklines
What is a Sparkline?
A sparkline is a small, simple chart that provides a compact visual representation of data trends over time.
How to Create a Sparkline
- Drag a measure (e.g., Sales) to the Rows shelf.
- Drag a date field (e.g., Month) to the Columns shelf.
- Change the mark type to Line.
- Adjust the axis to fit the small size of the sparkline.
Example
Practical Exercise
Exercise: Create a Waterfall Chart
- Connect to the Sample - Superstore data source.
- Drag the Order Date to the Columns shelf and set it to Month.
- Drag the Profit to the Rows shelf.
- Change the mark type to Gantt Bar.
- Drag the Profit again to the Size shelf.
- Create a calculated field named "Running Total" with the formula:
RUNNING_SUM(SUM([Profit]))
- Drag the Running Total to the Rows shelf.
Solution
1. Connect to Sample - Superstore. 2. Drag Order Date to Columns and set to Month. 3. Drag Profit to Rows. 4. Change mark type to Gantt Bar. 5. Drag Profit to Size. 6. Create calculated field "Running Total" with formula: RUNNING_SUM(SUM([Profit])). 7. Drag Running Total to Rows.
Conclusion
In this section, we explored various advanced chart types in Tableau, including bullet graphs, box plots, Gantt charts, waterfall charts, heat maps, and sparklines. These charts can help you present your data in more insightful and visually appealing ways. Practice creating these charts to become proficient in advanced data visualization techniques. Next, we will delve into using LOD (Level of Detail) expressions to further enhance your data analysis capabilities.
Tableau Course
Module 1: Introduction to Tableau
- What is Tableau?
- Installing Tableau
- Tableau Interface Overview
- Connecting to Data Sources
- Basic Data Types and Structures
Module 2: Basic Visualization Techniques
- Creating Your First Visualization
- Using Marks and Cards
- Building Basic Charts
- Filtering Data
- Sorting and Grouping Data
Module 3: Intermediate Visualization Techniques
- Using Calculated Fields
- Creating Dual-Axis Charts
- Using Parameters
- Creating Maps
- Using Table Calculations
Module 4: Advanced Visualization Techniques
- Advanced Chart Types
- Using LOD Expressions
- Creating Dashboards
- Dashboard Actions
- Storytelling with Data
Module 5: Data Preparation and Transformation
Module 6: Advanced Analytics
Module 7: Performance Optimization
- Optimizing Workbook Performance
- Extracts vs Live Connections
- Reducing Load Times
- Performance Recording
- Best Practices for Performance
Module 8: Tableau Server and Online
- Introduction to Tableau Server
- Publishing Workbooks
- Managing Permissions
- Scheduling Extracts
- Collaborating with Tableau Online