How to Plot a Map in Tableau
Plotting your data on a map can turn a boring spreadsheet of locations into an instant, powerful story about your business. Instead of just seeing numbers, you can visualize where your customers are, identify your top-performing regions, and spot new market opportunities at a glance. This guide will walk you through exactly how to create beautiful, insightful maps in Tableau, from the basics to some powerful customization tricks.
Why Bother with Maps in Your Dashboards?
Before we jump into the "how," let's quickly cover the "why." Maps provide context that tables and bar charts just can't. Imagine you’re a retail manager looking at a sales report. A table might tell you that New York and California are your top states for revenue. That's useful, but a map tells you more.
A filled map instantly shows you that your coastal markets are incredibly strong, but there's a massive untapped opportunity in the Midwest. A symbol map could pinpoint your exact store locations, while a density map could reveal clusters of online orders in a city you've never considered for a physical store. This geographic context moves you from simply reporting numbers to making strategic decisions, like where to focus your next marketing campaign or 'pop-up shop' an event.
- Spot Regional Trends: Quickly see which areas are overperforming or underperforming.
- Understand Distribution: Visualize logistics, supply chains, or the geographic reach of your services.
- Allocate Resources: Make informed decisions about where to spend your marketing budget or place sales reps.
Getting Started: Understanding Tableau's Geographic Data Needs
Tableau is incredibly smart when it comes to maps, but it needs a little help from you first. It can automatically plot geographic data, but only if it recognizes it as such. Tableau looks for data that falls into specific "Geographic Roles."
What's a Geographic Role?
A Geographic Role is simply a label you assign to a column in your dataset to tell Tableau, "Hey, this column contains geographic information." When a field has a geographic role, you'll see a small globe icon next to it in the Data pane.
Tableau can automatically recognize common location names like:
- Country
- State / Province
- City
- County
- Zip Code / Postcode
- Airport
It also automatically generates latitude and longitude coordinates for these recognized locations. If you have your own precise coordinates (latitude and longitude), you can use those too, which offers the most accurate pinpointing.
How to Assign a Geographic Role
Sometimes, your data might not be automatically recognized. For example, a column named "StateAbr" with two-letter abbreviations might be missed. Fixing this is easy:
- In the Data pane on the left, find your data field (e.g., "StateAbr").
- Right-click the field.
- Hover over Geographic Role.
- Select the appropriate role from the list (e.g., State/Province).
The icon next to your field should change to a globe. Now Tableau is ready to map it!
Your First Tableau Map: A Step-by-Step Guide
Let's create a simple but effective symbol map showing sales per state. We'll use the 'Sample - Superstore' dataset that comes with Tableau, but you can follow along with any dataset of your own US data that has a state field and a sales field.
A symbol map plots a point at each geographic location in your data. It's perfect for showing locations of individual stores, customer addresses, or event locations.
Step 1: Drag Your Geographic Field to the View
Connect to your data. Find your location field in the Data pane - in this case, State. It should have a globe icon next to it. Simply double-click it or drag it onto the main canvas area called the "View."
Just like that, Tableau works its magic. It automatically generates Latitude (generated) and Longitude (generated) fields, places them on the Rows and Columns shelves, and plots a dot for every state present in your data. You have a map!
Step 2: Use Size or Color to Add Meaning
Right now, our map is just a collection of dots. It shows us where we do business, but not how well we're doing there. Let’s add a measure to bring it to life.
Find the Sales measure in the Data pane. Now, drag and drop it onto the Size card in the Marks shelf (the middle panel where you can edit your chart).
Instantly, the circles on your map resize. Bigger circles represent states with higher sales, and smaller circles represent states with lower sales. You can immediately see that California and New York are your top performers.
You’ve officially created your first insightful map!
Pro Tip: Instead of Size, you can also drag the Sales measure onto the Color card. This will create a color gradient, where darker shades represent higher sales. This technique is often easier to interpret than varying sizes.
Choosing the Right Map for Your Data
Symbol maps are great, but Tableau offers several other types of maps. Choosing the right one depends entirely on the story you're trying to tell with your data.
1. Filled Maps (Choropleth Maps)
A filled map colors entire geographic areas (like states or countries) based on a measure. This is the perfect choice when you're analyzing data that applies to a whole region, not just a single point.
- When to use it: Visualizing sales by territory, population density by county, or website traffic by country.
- How to create it:
Now you have a map where states with higher profits are a different color from states with lower profits. You might discover that even though a state has high sales (a big circle on a symbol map), it might have very low profit (a light color on a filled map), which is a crucial insight.
2. Density Maps (Heatmaps)
Density maps are fantastic for visualizing clusters of data points. When you have too many individual dots to make sense of, a heatmap shows you where the concentration is highest, like looking at an area with thermal imaging.
- When to use it: Identifying clusters of customer activity in a metropolitan area, finding hotspots for service outages, or analyzing taxi pickup locations across a city.
- How to create it:
3. Flow and Path Maps
A more advanced but powerful option, flow or path maps are used to show a journey. They connect points on a map with lines to illustrate movement or a connection between two places.
- When to use it: Visualizing shipping routes, migration patterns, or flight paths.
- How to create it: This requires a dataset with a defined path: start and end points, and an order to connect them. You would place your Latitude and Longitude fields on the Rows and Columns shelves, change the Mark type to Line, and then place an 'Order ID' or 'Path' field on the Path card to tell Tableau in what order to draw the lines.
Taking Your Maps to the Next Level
Creating the map is only the first step. The real value comes from customizing it to make your story clearer and more impactful.
Customize Your Tooltips
The tooltip is the little box that appears when you hover over a data point. By default, it shows the fields you've used in the view. You can edit this to provide much richer context.
- Click on the Tooltip card in the Marks shelf. A text editor will open. Here, you can:
A well-crafted tooltip can turn your map into a mini-dashboard, giving users deep insights without ever leaving the visualization.
Leverage Map Layers and Options
Tableau gives you plenty of control over the appearance of your map:
- Navigate to the Map menu in the top toolbar to find several customization options.
- Map Layers: Here, you can change the background style (Light, Dark, Satellite), add or remove borders (like country or state borders), and layer on demographic data like population or median income if you're working with U.S. data.
- Map Options: This allows you to control user interaction. Do you want to allow users to pan and zoom? Or lock the map in place? You can control that here.
Use Filters to Empower Your Audience
Static maps are good, but interactive maps are GREAT. Let your audience explore the data on their own terms by adding filters. Simply drag a dimension from your Data pane (like Region or Order Date) onto the Filters shelf.
This will bring up a dialog box allowing you to select which items you want visible (e.g., which regions). After selecting your options, your interactive filter will open on the right side of your view, enabling deeper exploration of your data.
Final Thoughts
Getting comfortable with plotting maps in Tableau is a game-changer because it adds so much context beyond merely plotting latitude and longitude numbers. You've now learned how to create a foundation using symbol maps and other visualizations that will serve you well in crafting insightful reports to bring context to your business discussions.
While mastering tools like Tableau is a powerful skill, sometimes you just need to get quick answers from your marketing and sales data without the steep learning curve required to master new software. That's why we built Graphed . It's an AI data analyst that connects to all your platforms - like Google Analytics, Shopify, and Salesforce - into one easy-to-use place, simplifying dashboard creation and data analysis for everyday use. With it, you can ask your data questions to quickly access insights all within an organized space.
Related Articles
What SEO Tools Work with Google Analytics?
Discover which SEO tools integrate seamlessly with Google Analytics to provide a comprehensive view of your site's performance. Optimize your SEO strategy now!
Looker Studio vs Metabase: Which BI Tool Actually Fits Your Team?
Looker Studio and Metabase both help you turn raw data into dashboards, but they take completely different approaches. This guide breaks down where each tool fits, what they are good at, and which one matches your actual workflow.
How to Create a Photo Album in Meta Business Suite
How to create a photo album in Meta Business Suite — step-by-step guide to organizing Facebook and Instagram photos into albums for your business page.