Create a Map in Tableau

A map chart, also known as a geographic chart or cartogram, is a type of data visualization that uses maps to display data. It combines geographic information with statistical data to illustrate relationships, trends, or patterns.

Here’s an example. Suppose we want to show the population density of different states in India:

The map chart would display a map of India, with each state colored or shaded according to its population density.

The colors or shades would represent different ranges of population density, such as:

  • Low density: 0-100 people per square kilometer (light blue)
  • Medium density: 101-500 people per square kilometer (blue)
  • High density: 501-1000 people per square kilometer (dark blue)
  • Very high density: above 1000 people per square kilometer (red)

Let us see an example to create a Map Chart in Tableau:

To create a Map based on our sample data, you need a geographical dimension so that we can plot it on the map. It can be state, latitude, longitude, pin code, etc.

We have created a new sheet Map in the same Tableau project Amit_Tableau.twb. Let’s say our Dimension will be the State column. We will display the Sales based on State. Therefore, we will use the Measure Sales. This is the Sum of Sales:

Drag the fields to the respective pane in the Marks card:

  1. State dimension: Drag to the Detail and Label pane under Marks card
  2. Sales measureDrag to the Color pane under the Marks card

We created a map of the US based on our data. On the right, the color based on the Sum of Sales is visible with a dropdown. This displays the lighter color is for less sales and the darker for more sales in a region:

1. Create a Map in Tableau

1. Create a Map in Tableau

You can also edit the colors as shown below by clicking Edit Colors…:

2. Edit Colors for a Map in Tableau

2. Edit Colors for a Map in Tableau

Now the Edit Colors dialog box is visible. Click on the current color to change the color as shown below:

3. Change the color of a Map in Tableau

3. Change the color of a Map in Tableau

Select the new color as shown below:

4. Set a new color for a Map in Tableau

4. Set a new color for a Map in Tableau

Click Apply and then OK:

5. New Map color set in Tableau

5. New Map color set in Tableau

Now, the new color is visible for the sum of sales based on the states:

6. New color for the Map visible in Tableau

6. New color for the Map visible in Tableau


If you liked the tutorial, spread the word and share the link and our website Studyopedia with others.


For Videos, Join Our YouTube Channel: Join Now


Read More:

Create a Pie Chart in Tableau
Create a Tree Map in Tableau
Studyopedia Editorial Staff
contact@studyopedia.com

We work to create programming tutorials for all.

No Comments

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue reading