BI & Analytics
Blog
Tableau
8
min read

Tableau Map Layers: Pull everything into one view (3/3)

Use Tableau Map Layers to combine multiple visuals in a single worksheet and create custom dashboard views for enhanced data visualization.
Author
Donna Coles
Donna Coles
Analytics Engineer
Tableau Map Layers: Pull everything into one view (3/3)
Share article

Note: This blog presumes you have already read the preceding blogs in this trilogy:

Part 1/3: Get the most from Tableau Map Layers – Basics – Getting started

Part 2/3: Get the most from Tableau Map Layers – Intermediate – Building Different charts.  


In the previous two blogs we have discovered the flexibility and power of utilising Map Layers to create more custom and directed Data Visualisations.  

Here we will look at the next level in the Map Layer potential when we dive into building multiple visuals into a single worksheet.

What we will talk through during this blog is two main concepts around this topic of combining visuals using map layers.

 

  1. Creating bespoke combination charts
  2. Creating dashboard style views

Creating bespoke combination charts


Tableau, as we have previously discussed, has limitations when trying to create combinations of visuals.

Dual axis is the solution that Tableau has provided but it only goes so far. For those information designers that want to portray their data in the best directed and succinct way can find the build limitations frustrating.

Dual axis tend to be mainly used when trying to compare bars & lines together, or bars versus bars. There are of course other use cases for a dual axis, but the real limitation is given in the name – they have to use the same axis, i.e. the same range for both elements of the dual axis.

With map layers you can break that limitation, allowing you to combine more than two elements on a single worksheet and also combine elements that require different axis ranges.

For example: Imagine you wanted to compare the current year sales versus the previous year sales for a certain set of Categories. Typically, you would want to either use Measure Names / Values or a Dual Axis to achieve that.  But what if you want to do this YoY comparison, but also provide more context of the history of the numbers for each bar.

Again, you could do this through adding a separate chart that shows the historical data, and place both onto a Dashboard.

That is perfectly acceptable, but in this scenario, you want to give more emphasis to the YoY bars themselves and you want a more visual connection between the history of the numbers and the bars.

Well, Map Layers can help you here!

Remembering that Map Layers use a Longitude and Latitude coordinate system (because it was designed for Maps), we are able to utilise those coordinates to layer our dual bar chart visualisation and our line chart over one another on the same worksheet.

And create something like this, a visual that provides all the information we want to see, but with a more succinct use of space.

(the above view can be found & downloaded here: https://public.tableau.com/app/profile/sparsonsdataviz/viz/2020_4BeautifulBusiness-BarChartEdition/BeautifulBusinessBars)

“But how?”

Without going through the full build of the above combination chart, here are the key points in building it.

Step 1: Normalise your metrics (Sales – CY and PY) so they can be plotted on the Long/Lat ranges.

Step 2: Build your bar chart as per part 1/3 of this blog trilogy

Step 3: Spread the bars our across the vertical per Sub-Category (remembering the long/lat limitations)

Step 4: Layer over the 2nd bar chart on top of the 1st and format both

Step 5: Normalise your dates for use on the Line Chart

Step 6: Build your line charts as per part 2/3 in this blog trilogy

Step 7: Scale your line chart, to the size you want them to be displayed

Step 8: Spread the line chart position as per Sub-Category, allowing for them to be positioned above the bars (trial & error is required here with how you spread them).

Step 9: To position your Line Charts, you will need to adjust the Makepoint calculation to transition your chart across both Long & Lat (as required), by simply adding a value to each part of the calculation.  

Eg.  MAKEPOINT([lat calc]+3, [long calc] + 0.25) – this would move the horizontal positioning 3 steps to the right, and the vertical positioning 0.25 of a step upwards (this is just an arbitrary example).


Once you are used to the Map Layer builds, creating visuals such as this are rather easy and straightforward.  You are then able to add more information using map layers as you require (simply add more layers to the worksheet); such as:

  • Category labels
  • Metric value labels
  • YoY differences
  • More markers to help the understanding of the chart (here I used Gantt lines at the ends to help understand the true end point of the bars)
  • Axis lines (the bar axis on the left)
  • Marker Highlights on the line charts (to show what years have been selected)


Ultimately this is one example of how you can use Map Layers in a single worksheet to build a more bespoke visualisation than would have been possible through standard Tableau or even relying on someone else to build a Viz Extension to cover your specific needs.

More examples of Map Layer use:


Example 1: Creating multiple visuals in a single tile: See example

tableau map layers: multiple visuals in single tile

Example #2: Creating a custom visualisation - See example

Tableau Map Layers: Creating a custom visualisation

Example #3: Creating a fully formed Tabular visualisation with multiple elements and interactivity - See example

Tableau Map Layers: Tabular viz

Creating dashboard style views


Woah!  Wait a minute, that sounds proper complicated! (Excuse my West Country accent coming through there!)  Why would we want to build a dashboard using Map Layers?!

Well, hear me out! ... The Film Franchises visualisation above is essentially a dashboard in a single worksheet, it utilises everything we have learn through this blog series to date and just builds on it adding more layers.

In Tableau we have the great ability to combine charts into a Dashboard and include Actions to really help support a customer’s experience exploring the data.

This is a rather straightforward process that allows you as a Dashboard Designer quickly build and understand the layout of the dashboard. You have a lot of options to your disposal to create your dashboard, and you can control a vast majority of it through Actions, Dynamic Zone Visibility and even sheet-swapping (yes, that’s still a thing!).

So how can Map Layers help?

We have seen from the Combination Charts the flexibility we can possess with a visual in a single sheet.

Utilising this further and adding more charts to a sheet – effectively creating a dashboard, is turning that dial up to 11! (nod to all you This is Spinal Tap fans out there!).

Instead of having multiple objects / containers / charts placed on a dashboard that all need computing and rendering, you can look to build this using Map Layers.

Some benefits would include:

  • Lifting the restriction of Tableau’s container system, without resorting to Floating objects.  Allowing more creative freedom of placement of objects.
  • Allowing for a more controlled system to show/hide different visualisations on the worksheet (presumably using parameter controls) – as you could define how and wear visuals move to and scale in size, more so than the current Dynamic Zone Visibility provides.
  • A greater ability to lockdown various elements on the dashboard – using the ‘Disable Selection’ option on a Map Layer.
  • Performance benefits – this is debatable as to whether building in a single sheet would be more performant or not – it hasn’t been tested.  But in theory, there is only a single object which to render – be that a particularly more complex object!


We would probably not advocate building a dashboard using Map Layers as your first point of call, certainly not within a business context.  

However, there may be occasions that arise that you find the method of layering multiple charts on a single worksheet more beneficial than the traditional Tableau method.

~ End ~


Thank you for reading this series of blogs on a topic I love. Clearly Tableau has a huge creative potential to support data visualisations, both Business and otherwise.  This is sometimes lost with Tableau’s own recent push for AI advancement and Extension developments.

The core Tableau product is still as strong as ever! I hope you enjoyed this series of blogs and I also hope to see more Map Layers vizzes on Tableau Public.

See you next time!

Facts & figures

About client

Testimonial

Blogs you might also like

5 Ways to Level Up Your Bar Chart Using Tableau Parameter Actions

5 Ways to Level Up Your Bar Chart Using Tableau Parameter Actions

Tableau Parameter Actions are a great feature in Tableau. Read all about it in our latest blog.

BI & Analytics
Blog
Tableau
Everything you need to know about Tableau Certifications

Everything you need to know about Tableau Certifications

Thinking of taking one of the Tableau Certifications? We explore how to get ready in our latest blog. Read all about it here.

BI & Analytics
Blog
Tableau
Personalise your Tableau Dashboard with Custom Titles

Personalise your Tableau Dashboard with Custom Titles

Learn about how to add the personal touch to your Tableau Dashboard with custom titles.

BI & Analytics
Blog
Tableau
Bar Charts: The Good, the Bad, and the Ugly

Bar Charts: The Good, the Bad, and the Ugly

Why can bar charts be effective and how to use them to get answers easier, and faster!

BI & Analytics
Blog
Tableau
How to create a waterfall chart in Tableau

How to create a waterfall chart in Tableau

Learn how to create your own waterfall charts in Tableau Desktop by following these steps.

BI & Analytics
Blog
Tableau
The Ultimate Guide to Embedded Analytics

The Ultimate Guide to Embedded Analytics

Discover what embedded analytics is all about and how it can drive additional revenue streams for your business.

BI & Analytics
Blog
ThoughtSpot
How to label pie charts in Tableau

How to label pie charts in Tableau

Learn more on how to label pie charts in Tableau like a pro.

BI & Analytics
Blog
Tableau
How to label bar charts in Tableau

How to label bar charts in Tableau

Learn how to label bar charts in Tableau like a pro and level up your dashboard design. Read the full article here.

BI & Analytics
Blog
Tableau
How to create a donut chart in Tableau

How to create a donut chart in Tableau

Looking to create a donut chart in Tableau? Read our in-depth guide on how to level up your donut charts in Tableau here.

BI & Analytics
Blog
Tableau
How to ace your ThoughtSpot certifications?

How to ace your ThoughtSpot certifications?

Learn more about ThoughtSpot certifications and how to ace your exams.

BI & Analytics
Blog
ThoughtSpot
How to stop marks being highlighted when ‘clicked’ in Tableau

How to stop marks being highlighted when ‘clicked’ in Tableau

Learn how to stop marks from being highlighted when clicked in Tableau.

BI & Analytics
Blog
Tableau
How to Create Multiple Select Parameters in Tableau

How to Create Multiple Select Parameters in Tableau

Learn how to create multiple select parameters in Tableau to add more control and interactivity to your analysis.

BI & Analytics
Blog
Tableau
How to apply conditional formatting to tooltips in Tableau

How to apply conditional formatting to tooltips in Tableau

Learn how to apply conditional formatting to tooltips in Tableau with our step-by-step guide. Improve your data visualization skills today with Biztory.

BI & Analytics
Blog
Tableau
Rediscovering Business Intelligence with Sigma Computing

Rediscovering Business Intelligence with Sigma Computing

Discover how Sigma Computing is reshaping the BI landscape with its user-friendly interface and powerful capabilities.

BI & Analytics
Blog
Sigma
Sigma Computing: Our Favourite Features

Sigma Computing: Our Favourite Features

Discover our favourite features of Sigma for powerful and fun data analysis.

BI & Analytics
Blog
Sigma
Tableau vs. Power BI: Everything to know

Tableau vs. Power BI: Everything to know

Compare Tableau and Power BI to determine the best business intelligence tool for your needs.

BI & Analytics
Blog
Tableau
Tableau Map Layers: Getting Started (1/3)

Tableau Map Layers: Getting Started (1/3)

Learn how to leverage Tableau's Map Layers feature to create complex visualizations.

BI & Analytics
Blog
Tableau
Tableau Map Layers: Building Different Charts (2/3)

Tableau Map Layers: Building Different Charts (2/3)

Learn how to create Pie, Doughnut, Line, and Area charts using Tableau Map Layers.

BI & Analytics
Blog
Tableau