Happy Christmas from the Data Studio

Here’s hoping you all have a wonderful Christmas. What better way to celebrate than with a Tableau Christmas card:

For those who really need to know how this was made…. well, I’m just about to go for our office Christmas lunch. I feel it would destroy the magic (!) if I told you.

Joy of six: Gapminder, Tableau style

As soon as I got my hands on Tableau v6, the first thing that came to mind was Gapminder. Those new shiny features meant it would be possible to recreate the amazing Trendalyzer software in Tableau. Here’s how I did:

To do the viz, I took advantage of lots of the new features, many of which I have already blogged about.

Data Blending

There are 9 connections required to show the viz above:

Okay, I acknowledge that that is not a shade on Gapminder’s 250+ datasets. But, hey, I’m not Google, you know! Tableau coped well with 9 datasets. What was difficult was reshaping the Gapminder data in Excel in order to get the best out of it in Tableau. Don’t know about Reshaping? Then you need the Tableau Reshaper add-in


There are lots of parameters in this viz. Mostly, I used them to enable the user to choose which Dimensions/Measures to display on the viz. You can read about how to do that in my earlier Joy of 6: user-built views post.

Page controls

At last, the Page Filter grew up. A valuable but neglected feature in previous versions, it’s been beefed up enormously this time around. The viz takes full advantage of Page filters and the ability to Show History. Click on a mark in the viz to see how it’s changed.

The single, pretty major issue is that on a Server or Public view, you don’t get a Play button. Given the architecture of the Tableau Server, this makes perfect sense: it is simply not possible to get data from the server to the client quick enough to work. You need to download the workbook to see the playback controls. This is a shame, as it’s a cool feature.

Tabbed views

My favourite “easy-win” from the new features is the ability to use tabbed views to create an About Box (read the blog post about this). In this viz, it allows me to create links to the source and other places, and add context to the viz. Without the About Box, I would either have to miss those out, or use up valuable screen real estate on the viz itself.


This project was not without challenges…

Gapminder data interpolates

On the Gapminder site, if a data point is missing, it interpolates the value. That makes for a nice smooth animation on their website. Unfortunately, Tableau cannot invent data in that way. See those lines through the circles in the image above? That’s where Gapminder interpolated in order to make a smooth interpolation.

Log and linear

Gapminder automatically switches between log and lin axis scales. This is really nice, as it removes the burden from the user, and makes everything fit properly. Alas, no such feature in Tableau as yet. I wouldn’t even expect Tableau to implement this – it’s a very niche feature.

Annotations: two problems.

See the light-grey label showing Year that appears on the chart itself? In Gapminder, that label fits the whole chart. in Tableau, area annotations are at the front, so if you try to recreate labels as large as they are in Gapminder, the obscure the data points. But that wasn’t the biggest issue. Oh no. The area annotation is specific to the Dimension being selected. Therefore, I needed to add a separate annotation for every single X-Y axis combination. That was pretty tedious…

Some Gapminder data is just plain wierd

I had to pick and choose the data I used for this viz. In some cases there were too many missing data points. And in others, the values just don’t seem credible. For example, if you choose the CO2 emissions Dimension, well, I just don’t believe those values.


This has been a pretty challenging viz to get right. Having a defined end-goal (Gapminder) to try and hit isn’t the normal way of developing in Tableau. It’s better to explore the data, find the story, and tidy things up when you get to wherever you’ve got to. Forcing Tableau to be like something else is trickier.

Tableau isn’t optimized as well as Gapminder. Tableau can’t match Gapminder for smoothness of animation or flexibility of showing the different data. But that’s not really what Tableau is trying to do. It does everything it needs to do in this project just fine. Most of your business applications will be simpler than this. I think the end result above is great. It was a great way to explore the new features.

I hope you enjoyed the project, too. This is the end of my Joy of 6 posts – click here to read the rest.

Open Data Hackathon: Oxford

December 4th was International Open Data Hackathon. Groups around the world got together to see what they could do with open data: scrape, viz, reimagine, play, tinker. Anything you could imagine, using any kind of open data.

Around 30 people gathered at the offices of White October for the Oxford event. I went along with my Data Viz hat on, armed with laptop and Tableau v6. A summary of all the projects we worked on can be found on Tim Davies’ blog. I’m going to focus on the work I did. Zarino Zappia (@zarino) and I first tried to do something with the Mozilla browser usage competition, but the datasets were just too big. Sure, Tableau can handle it, but our laptops didn’t!

Instead, I got together with Iain Emsley (@iainemsley) and Al Power (@alpower) to work on Arts Council Funding Data. Working with data from data.gov.uk, we got to work. By the end of the day, I’d come up with the following viz:
(note – this is a static shot – click to see the full screen version; I didn’t have time to resize it to fit to the blog):

Funding Council Data Tableau Preview

What did I learn?

1. Open data is fun

Hacking open data is great fun. My view blended the arts council data with a full list of constituency names and latitude/longitudes that we found on Google Fusion.

2. Open data is frustrating

There’s so few standards, and often so many hoops to jump through before you can get going.

3. Seriously, Tableau 6 is bloody amazing

I know I’m a Tableau lover, but, really, it was a perfect tool for this. I had most of the viz up and running within a couple of hours. Blending the funding data with constituency data was instant. And just about everything I did was with the mouse.  Some of the other groups created some great stuff, using code libraries and their excellent programming skills, but Tableau just lets you explore, shows your results instantly. There’s no script to code, no alt-tab-refresh to test every CSS tweak you make, and no wizard-type work where you change 5 parameters before seeing a result.

4. This viz could be just the start

Now we have the constituency locations, it would be trivial to start blending these results with any other metric (population, employment, etc) to start to gain some huge insights.