top of page
Search

Tableau Bitesize: Timeline

  • Writer: James Goodall
    James Goodall
  • Aug 3, 2020
  • 2 min read

In this post, we're looking at visualising time series data, but displaying this in a timeline, with the values for each date being represented by the size of the mark on the date data points.


ree

This is a relatively simple viz to put together but one that can communicate a lot of information at once

To build this one, start by connecting to the 'Timline.csv' data source attached below:



Drag the ‘Year’ Dimension onto the ‘Columns’ shelf

ree

Next, change the chart type to ‘Circle’, drag the ‘Live births’ measure onto the ‘Size’ mark and change the view to ‘Entire View’

ree

Next, we will want to create a fixed axis point for the circles so that we can effectively ‘cut them in half’. Create a calculated field called ‘Zero’ with a value of ‘0’

ree

Drag this onto the ‘Rows’ shelf

ree

Edit the Y axis so that it starts at 0 and ends at 1

ree

Alright, now we’re getting somewhere

ree

We want to only look at one area at a time, so let’s drag the ‘Area’ dimension onto the Filter card and select an area

ree

Now, the sizes of the marks are all fairly equal, because there isn’t much variation in the overall values, but we can change that by adjusting the size settings

Click on the drop-down arrow in the size toolbar and select ‘Edit sizes’

ree

Change the ‘Sizes vary’ drop down menu option to ‘By range’ and click ‘OK’

ree

The view should now look something like this

ree

Time for some cosmetics – remove all the lines and borders, increase the size of the circles, hide the headers, and reduce the opacity of the circles slightly

ree

Create a new dashboard (I changed the size of mine to 800x600) and drag the sheet you have created on, add a title, and add a filter

ree

Now all we need to do is annotate the viz. Select all of the marks, then right click any one of them and click ‘Annotate -> Mark’


ree

Select what data you want to display (in my case this was ‘Year’ and ‘SUM(Live births)’ then format as desired


ree

Now comes the boring bit – adjusting the sizes and positions of the boxes until they look right, but once you’ve done that you’re ready to go. Quick & simple timelines effectively showing comparative values over time


ree


 
 
 

Comments


Subscribe Form

©2020 by Data & Stuff. Proudly created with Wix.com

bottom of page