In the last two posts, you’ve read how to make a symbol map with Mapbox maps and how to make a filled map in Tableau.
This post provides a step-by-step tutorial on how to combine the two into a single, dual-axis map.
The final view in this example will display sales by city as a symbol map and US States colored by region as a filled map:
This type of map is useful any time you want to combine two maps into one to help provide additional context that would not be available when showing only one map or the other.
One of the best real-life use cases we have seen for a dual-axis map in Tableau was when a partner wanted to see how the sales of their product by territory compared to the brick and mortar locations of a competitor.
To create a dual-axis map in Tableau, start by creating one of the two maps that you want to combine. We will start this example by creating a symbol map for sales by city.
Once the first map is created, you can create a duplicate of that map in one of two ways:
Whichever method you select, the key is that by placing a second pill on the Columns or Rows shelf, a second Marks Shelf is generated.
Now that there are two separate Marks Shelves, one for each map, the maps can be edited independently. That means a symbol map can exist on the first Marks Shelf, and the second Marks Shelf can be changed to a filled map
In this example, we will leave the first map as is, but change the second map to be a filled map by region.
To format the map for our example, follow these steps:
We have now got two distinct maps in our view.
To combine the maps, click on the second geographic measure on the Rows or Columns Shelf (depending on whether you duplicated Longitude or Latitude) and click “Dual-Axis”. If you want to change the float order of the maps, drag the second geographic measure on the Rows or Columns Shelf to the first position.
Our final map looks like this:
Not sure on your next step? We'd love to hear about your business challenges. No pitch. No strings attached.