VizWiz

Launch, grow, and unlock your career in data
Showing posts with label combination chart. Show all posts

March 8, 2024

Visualizing Time Series Data in Tableau

No comments

Last night I was invited to speak at the Chicago Tableau User Group about visualizing time series data. Other than spatial data, time series data is my favorite to visualize. 

There seem to be endless methods for making time series data useful for analysis. Check out this video for 60ish ways to visualize time.

I had a 20 minute slot to present and, of course, I ran over time. I seem to do this with every session I run lately. Be it training for Next-Level Tableau, presenting at events, or running a livestream, I get into a groove and don't want to stop.

I was able to create 14 vizzes in 20+ minutes. I added an extra in this workbook to make the dashboard format nicely.

Click on the image below to download the workbook and dissect it. Get the data here to follow along. 

Have fun! 

August 15, 2023

An 8-Chart Guide to Dashed Lines in Tableau

No comments

In this tip learn when to use of dashed lines. Through this video, I'll walk you through 8 distinct examples, demonstrating the effectiveness and clarity that dashed lines can bring to your data representation:

  1. Line Chart with Dashed Elements: Understand the basics of creating dashed lines.
  2. Multiple Lines Differentiation: Explore how to distinguish multiple measures using varied dashed patterns.
  3. Line/Area Chart Combination: Integrate dashed lines with filled areas.
  4. Comparison to a Moving Average: Learn how dashed lines can contrast raw data against its moving average, helping in trend analysis.
  5. Current Year vs. Prior Year: Used dashed lines to make year-on-year comparisons.
  6. Combination Chart: Combine several chart types, using dashes to maintain clarity.
  7. Barbell Chart Analysis: Learn how dashes can link data points in a barbell chart, highlighting change and consistency.
  8. Forecast vs. Actuals: Create a forecast with dashed lines.


June 26, 2023

#MakeoverMonday 2023 Week 26: The UK's Drinking Culture

No comments
This week I delve into drinking, a topic that has long been integral to British culture. 

We covered lots during the live stream. I started by attempting to recreate the original, but couldn't get it to work. I went on to build:

1. Stacked bars
2. Stacked bars with labels above the bars (there are a few neat tricks in this one)
3. Circle on a dotted line
4. Donut chart, bar chart combination chart
5. Bullet graphs
6. A mobile view that's a different sheet

Building the mobile view hopefully showed everyone how to leverage sizing objects in a dashboard. If you haven't watched, I created a 2nd sheet that I could format separately to fit on a mobile device. To the user, it would look like the same chart.

The trick is to float the 2nd sheet and make it 1x1 size. Because it's on the dashboard, you can then use the sheet in the mobile view. Check it out, you'll like it.

I'm pretty happy with where I got to in the end. Enjoy the live stream and check out the viz below or here.


November 1, 2022

#MakeoverMonday Week 44 - Fundraising vs. Spending by Members of the 117th Congress

No comments

The midterm elections in the US are next week. If you're able to vote, please do. Democracy is at stake. 

This week's data was about fundraising, spending and debt by people currently in Congress. If you missed #WatchMeViz, I showed 16 different ways to visualize this data set. Hopefully they give you a bit of inspiration for creating your own.

Catch up with the show below. In the end, I went with a bar chart that compares funds raised vs. spent by State. I also have a gantt bar to show the difference between the two. I have a tutorial of that chart here.

Below this video is an image of the dashboard I created. Click on it to see the interactive version on Tableau Public.


May 25, 2022

#WOW2022 Week 20 - Monthly Sales vs. Target

No comments
Today I ran a live #WatchMeViz session to show how I completed Workout Wednesday 2022 week 20. I messed up a bit, even though I had done the challenge before, but that's part of the learning process! I hope you find the session useful. If you have any questions, please leave a comment on YouTube.

Resources


Enjoy!



March 8, 2021

#MakeoverMonday Week 10: Female Participation in the Summer Olympics

No comments

First, thank you to Tommaso Ferri for moderating Watch Me Viz. I enjoyed working with this data set and was able to build nine vizzes in about 40 minutes, then took another 40-50 working through formatting and some pesky table calcs. I got there in the end!

After the live stream ended, I created one more version that uses containers. I think I like this one best. Below you'll find the live stream recording as well as the two final visualizations.

Thanks for watching!







November 24, 2020

How to Create a Combination Bar Chart & Candlestick Chart

No comments

In a recent Makeover Monday #WatchMeViz, I showed how to create a bar chart to compare two measures and then add a candlestick chart as well to show the difference between the two measures. It's actually quite simple; it requires some knowledge of:

  1. How Measure Names and Measure Values work together
  2. How to create a combined axis chart
  3. How to create a dual axis chart
  4. How to create a Gantt chart

In this video, I show you how to do just that. Enjoy!

September 13, 2016

Tableau Tip Tuesday: How to Create a Combination Chart with Overlapping Bars & a Line

4 comments

In this week’s tip, I look back at one of my most popular posts - 7 easy steps to create a combination chart with overlapping bars & a line. The tip hasn’t changed much, however, this time there’s a video.

January 31, 2016

Makeover Monday: Travel Agents Are a Relic of the Past and Hotels Could Be Next

9 comments

The chart that we're reviewing this week for Makeover Monday is from Tech Chart of the Day. The title of the article "Travel Agents Are a Relic of the Past and Hotels Could Be Next" is quite catching, but the accompanying chart leaves a lot to be desired.


What can be improved?

  1. The title is boring and doesn't capture my attention.
  2. I'm not exactly sure which axis goes with which colour because neither axis is labeled.
  3. The colours of the lines are too similar for me.
  4. For some reason, my eyes want to match the darker blue line with online hotel revenue and the lighter blue line with # of travel agents, but they're actually the opposite.
  5. A dual-axis chart is often used to show a correlation, but is the correlation explained by this chart.

Ultimately, if I have to work this hard to understand such a simple chart, then it must not be done well.

This week, I'm going to walk you through my step-by-step makeover, ending with my final version. Each step along the way addresses one or more of the problems mentioned above. Let's get started.

First, I'll (1) change the title, (2) add the axis titles,  (3) change the line colours to make them easier to distinguish, (4) colour each axis to match its line colour to aid in understanding, and (5) colour the keywords in the title to match the line colours.


Ok, that's definitely better, yet for me it still doesn't address the issue with correlations and dual-axis charts. Let's make one minor change and convert the number of travel agents to a bar chart to make the view a combination chart.


A combination chart like this makes our eyes separate the two metrics while still allowing us to see the patterns of both at the same time. For example, it's easy to see that online hotel revenue is steadily increasing and the number of travel agents is decreasing.

However, the story here is the growth of revenue for online hotel services like Airbnb, VRBO, Flipkey, and HomeAway compared to the decline of travel agents. So, with that in consideration, I wanted to see how the respective growth (or decline) rates since 2000.


In this view, notice how I've significantly changed the title to meet the objectives of the story and how I've changed the axis titles. This view clearly shows the significant increase in online hotel revenue since 2000 and the fairly significant decrease in travel agents. Yet I still don't love it.

I'm thinking a connected scatterplot might do the trick. As Ben Jones said:
The connected scatterplot imparts a sense of travelling a pathway through a terrain that has twists and turns, loops and sudden rises and falls that encode how the two different variables changed together.
That's exactly what I'm looking for; a method for showing how the two variables move together. So taking the % change since 2000 from above and converting it into a connected scatterplot, I get this:


I really like how this shows how the decrease in travel agents and the increase in online hotel revenue shifts together. I also added annotations to drive the point home even farther. Yet I still feel like this isn't quite done. I like the annotations, but not the axis scales. While the % change gives me nice context, I feel like I'm losing the overall magnitude of the changes.

Lastly, I removed the % change over time from each axis and went back to the raw values. I then made the line dashed because I feel like the dashed lines show the trails through time better.


In particular, I like how the design of this connected scatterplot starts at the upper left and moves down and to the right. I used Cole Nussbaumer's "where are your eyes drawn" test by turning my head away then back and seeing where my eyes go first. They went directly to the upper left dot for the year 2000, just like I had hoped.

You can download this workbook from my Tableau Public profile here.

December 8, 2015

Tableau Tip Tuesday: How to Create Dual-Axis Charts

No comments
This week I show you several examples and use cases for dual-axis charts. You might sometimes hear these called combination charts. The most typical use case for combination charts is when you want to represent two measures with two different mark types. Visualising the charts this way can allow you to more easily compare different measures and spot important relationships.

August 27, 2011

Tableau Tip: 7 easy steps to create a combination chart with overlapping bars & a line

43 comments
UPDATE (13-Sep-2016) - I have created a video tutorial for this tip, which you can find here.

As a follow up to my previous post, which showed how a dual-axis chart looks in Tableau (compared to the Excel version I wrote about in the post previous to my previous post), I was asked by someone named Anonymous (I can never seem to identify him/her) to create similar instructions for building the dual-axis overlapping bar and line chart in Tableau.

Here are the steps I used to produce the chart (there are a billions ways to skin the cat, so take it for what it is):

Step 1: Place the Week dimension on the Columns shelf and the Measure Values measure on the Rows shelf

image

Step 2: Drag the Number of Records pill off of the Measure Values shelf to remove it

image

Step 3: Drag the Units pill from the Measure Values shelf to the right edge of the chart (i.e., the secondary axis).  You know you’re on the secondary axis when you see the dashed vertical line

image

You’re entire canvas should now look like this:

image

Step 4: Right-click on the Units pill, choose Mark Type => Line

image

You’re viz should now look like this:

image

Step 5: Right-click on the Measure Values pill, choose Mark Type => Bar

image

STOP!  Pop the top off that next bottle of Blue Moon.  Double-check your work.  You’re viz should now look like this.  If not, click the Undo button until you get back to a good spot.

image

Step 6: Drag the Measure Names dimension onto the Size shelf

image

Step 7: At this point, the bars are stacked.  So on the Analysis menu, choose Stacked Marks => Off

image

That’s it!  You’re done!  There’s some formatting you could do like adjusting the width of the bars, changing the number format on the axes, etc., but the essence of the chart is now complete.  Seven simple steps in 15 seconds (I wrote 90 seconds in my last post, but I timed myself this time).

image