If you’ve ever had to look up the X / Y or latitude / longitude coordinates to create a custom map in Tableau, you’re grateful for the powerful map features that come out of the box with the software. By simply double-clicking a dimension that Tableau recognizes as a geographic field, thousands of locations are instantly plotted on a map. This saves you the countless hours required to look up the coordinates manually or the need to purchase additional licensing to use maps. This post shares how to use additional map styles in Tableau for free, and with very little effort using a service called Mapbox.

Mapbox is an integration that shipped with Tableau 9.2. I wanted to write this tutorial because even though the feature came out three versions ago, I don’t see many users taking advantage of it. Custom map styles are a great way to add style to your data visualization, and this tutorial will show you how easy it is to integrate Mapbox with your Tableau maps.

Watch the Related Video with Playfair+

 

How to add custom Tableau maps with Mapbox

1. Sign up for a free account at Mapbox at https://www.mapbox.com/studio/signup/

Sign up for Mapbox

2. From the Home tab within your Mapbox account, note the Access Token on the right side of the page

Mapbox Home Tab with access token

3. Create a map in Tableau. Here is an example Tableau map looking at Sales and Profit Ratio by City in the Sample – Superstore dataset.

Sales and Profit Ratio by State Tableau Map_update

4. Navigate to Map > Background Maps > Add Mapbox Map in the top navigation.

Tableau Background Maps Map Services_newUI

5. After the dialog box appears, enter a style name and paste the Integration URL from your Mapbox map into the URL section.

Adding Mapbox Map Style Name and URL

 

Learn to navigate uncharted waters.

Upgrade to Core or Premium benefits to take your data skills even further.

Here’s how my final Tableau map looks after choosing a street style, clicking OK, and closing the Mapbox Map dialog box.

Final Tableau Map with Custom Mapbox Street Style

Thanks for reading,
– Ryan

 

This content is excerpted from my book Practical Tableau: 100 Tips, Tutorials, and Strategies from a Tableau Zen Master published by O’Reilly Media Inc., 2018, ISBN: 978-1491977316. Get the book at Amazon.

Access Exclusive Analytics Resources

Dashboard templates, digital credentials, and more.

Related Content

Ryan Sleeper

How to Access 17 Additional Styles for Tableau Maps Tableau Desktop 2019.2 adds three new map styles, bringing the total…