For a recent visualisation I created about Singapore’s National Day, I wanted to provide a geographical context for the subject matter, showing historical points of interest in the city state along with locations of past National Day Parades. I also wanted the style of the map to be in keeping with the charts used and match the colours used on Singapore’s National Day Parade website.
To achieve this, I used a custom Mapbox map as a background to the visualisation that filled the entire canvas and provided an informative and aesthetic backdrop.

Video Tutorial
If you prefer a video version of this content, click play below:
Default Mapbox Maps in Tableau
Tableau switched to using vector maps from Mapbox in early 2019 (which I reviewed here) and by default you have access to the following map styles within Tableau:
- Light
- Normal
- Dark
- Streets
- Outdoors
- Satellite
An examples of each of these is shown below (click to expand):
Map Layers
Each of these default maps provides a Layers panel in Tableau where you can switch on or off various map details such as:
- Base
- Land cover
- Coastline
- Streets and Highways
- Country/Region Borders
- And many others…
For more details, see this Tableau help page.
This combination of different default maps and toggleable layers provides a lot of flexibility and variation which covers the majority of use cases. However, if you want to customise your maps further, this can be done via Mapbox Studio.
The below steps walk through how I created the custom map for the above Singapore visualisation.
Create a Mapbox Account
If you don’t already have a Mapbox account, go to the sign-up page to create a free account: https://account.mapbox.com/auth/signup/
Choose a Template in Mapbox Studio
Once you’ve created your account and logged in, go to the Studio page:

Then click on New style:

Then, select a template map as a starting point. For this example, I used Monochrome, with a variation of Bubblegum. Finally, click Customise Monochrome

Customise the Template Map
The reds used for most elements in the Bubblegum template are a good enough match for what I wanted for this visualisation, so I only needed to make one customisation, which was the colour of the water. I changed this from a dark pink to a mostly grey colour with a slight pink tone.
To customise any element, you can click anywhere on the map to show the layers that are used at that point. Clicking on an area of water below, I can see there are Land and Water elements:

Switch from Components to Layers to show more detail and to pick a specific layer:

Click on water to show all the details for that layer in a panel on the left of the screen, where changes can be made. Before making changes, it’s necessary to click Override to unlock the interface. I then just selected the new colour for the water using the colour swatch. The old and new colours are shown below the swatch:

Similar changes can be made in this way for road colour, land colour, buildings and so on. Mapbox allows for customisation down to a very fine level of detail.
A comparison of the default Bubblegum style versus the customised version can be seen below
Publish the Map
When all customisations have been made, click the Publish button in the top right corner:

A preview will show with a slider that allows you to easily see a before and after view so you can confirm that changes you made are what you want. Click Publish once more:

A popup shows to confirm the map was published;

Create a Map URL for Tableau
To use the new map in Tableau we need an integration URL. To create this, first click the Share button in the top right of the screen. (Notice the Publish button is now greyed out as I haven’t made any customisations since I last published).

Then, on the popup screen:
- Click Third party
- Select Tableau from the drop down list
- Click the clipboard icon to copy the URL

Add the Mapbox Map in Tableau
To begin using the new customised map in Tableau, first select the sheet that contains the map in Tableau, then select Add Mapbox Map… from the menu as shown below:

On the popup that appears, give the map a name and paste in the URL copied from Mapbox Studio

Once you click OK, the view in Tableau will update to use the new custom Mapbox map.
Further Information
Custom Mapbox styles open up all kinds of opportunities for creating beautiful maps for your visualisations. For inspiration and examples of what’s possible, take a look at the Tableau Public profile of Jonni Walker.
I hope this was useful and thanks for reading.
Marc
Latest YouTube video
This video tutorial steps through how to create a dot plot in Tableau.
Thanks for this bllog post