It’s a bit good – I can’t think of anything I would change, and I liked it so much that I thought I’d write about exactly what needs to be done to recreate this viz. It’s pretty simple and much of the flourish is reserved for crisp design and formatting, rather than hugely technical Tableau wizardry. There are two sheets, one for the chart, and one for the Size legend.
Here is how the chart sheet is structured:
On Columns, Eva placed a calculated field, which simply converts the existing [Duration in seconds] field into minutes. No prizes for guessing this calculation:
The aggregation of the Latitude could be MINIMUM, MAXIMUM, MEDIAN, SUM or AVERAGE, it doesn’t matter in this instance as the derived value would be the same when the unique ID of [Eclipse ID] is on Detail. Once these fields are on Rows and Columns, and you stick [Eclipse ID] on Detail, you are welcomed by a dotty blue display:
Note the formatting of the [Duration (minutes)] field? Nice and easy:
Eva also has a couple of Filters in play. The viz is focused on total eclipses, so that option is selected from the [Eclipse type category]. Also excluded via a filter are eclipses with 0 duration.
So we have the bare bones already, how did Eva achieve the colour effect that she did? A calculation making use of the ABS() function:
So eclipses in locations with a negative latitude will simply have their negative values converted into positives. The calc in all its glory is:
Why do this? Well, without it you’d have a range of latitude values from 88.5 to -88.0, and you’d end up with this:
ABS() effectively ensures that inversions of latitude are basically treated the same, and so you get a colour legend like this:
What’s next? [Duration (minutes)] on Size further highlights that the longer total eclipses occur closer to the equator. The sizing of that had to be manually adjusted on the resultant slider to get things just right on the dashboard, but that’s all.
The next visual features are the horizontal lines denoting the North Pole, Equator and South Pole. You could create calculations for these, but there’s absolutely no point. Eva took the most efficient route: Constant reference lines:
A bit of formatting to differentiate the Poles from the Equator (to match the [Colour] calculation), and that’s more of less it – just the tooltips to check out now. Here’s what they look like:
Clean and simple – and with a minor twist. The duration now is depicted in terms of hours, minutes and seconds, to give more precision than is on the x-axis. Arguably the hours are redundant given the maximum duration is 7 minutes and 29 seconds, so perhaps that’s a change I would make. Here’s how Eva created this additional field:
With 86,400 being 60 seconds * 60 minutes * 24 hours in a day. This is formatted thus:
And, for completeness, the tooltip itself is structured as shown below:
Onto the Size legend, which has its own worksheet, built as follows:
Observant readers will note an additional Filter – [Eclipse ID]. This is required to limit the “legend” to show three different sized circles, reasonably evenly distributed, so it looks right on the final dashboard. This took some tinkering and flicking to and from from the dashboard, to make sure things weren’t too crowded.
Once that’s done, it’s onto the final step of pulling things together on the dashboard. It’s a 1000×800, with only two really notable design flourishes – the two floated elements. First is a floated text box up beside the North Pole reference line, and the second is the custom legend and its corresponding annotation:
It’s basically the legend worksheet and a text box in a floating, horizontal container. After a year and a quarter with Tableau, I’ve finally started paying attention to containers!
And that, as they say, is “it”. I think it’s a fabulously clean viz and it remains my favourite #MakoverMonday submission of the week. It’s also wonderfully simple to break apart and rebuild, and I’d urge anyone looking to boost their Tableau experience and skills to take a look, so they can see how easy it can be to create a visually stunning dashboard without too much effort.
My attempt at recreating Eva’s viz is here: