Add Map Layers in Tableau

In this blog, we will see how we can add map layers in Tableau and why it is so important as a part of map graphs. 

Add Map Layers is more interesting than designing a simple map graph. It offers us diversity in the map itself. But to add map layers can be difficult as well and somewhat can be more confusing for the users. But the question is why the layering of the map is important.

The layers of maps offer us the overlapping of various locations. But overlapping can be confusing so we should always try to layer the components in a hierarchy so we can offer the user a clear picture of the maps and also the measured value should be assigned to the correct measure names.

We know when any location field is considered then we often use the graph of a map and automatically latitude and longitude are generated in measure names, so using the fields we get the map graph created.

Let’s talk more about the overlapping graph by trying an example:

For example: Using the sample superstore dataset, visualize the sales of countries depending upon the state and its cities where we have sales for that country.

So here in the example, we have two requirements majorly where it says to get the sales of country & state, next to mention the cities that from where we get the sales. We see that we have to overlap the state on to the country.

Let’s start by creating a simple map graph using countries as shown below:

In the image we have created a filled map by using Country & State 

So here we have the map graph and the blue section tells us about the countries and states from which we have to look at the data. Next, we want the cities, so we will overlap the cities as shown below:

The image shows , how we can easily add a map layer onto the created map layer

As we can see that we dragged the cities to the sheet, we can see our option to have layers on the maps. So after adding the cities as a map layer to the states and countries we have the below view:

In this image another layer of map is added denoted with black dots that represents City

All the black dots show the cities that we have in the state mentioned. If we look at the image we can see a city name also. Now we want the dots to increase as per sales. But we will add the sales in the layers of the city as shown below:

In this image , using map chart we are showing the Sum(Sales) of each city denoted by different colors

Now we can see in the image that the color shows the intensity of the sales from high to low sales where black sales show the highest sales and size also tells the largest to smallest sales.

Hoping that this blog helped the viewers in understanding the concept of layering the maps.

Follow us on Twitter, Facebook, Linkedin, and Tableau Public to stay updated with our latest blog and what’s new in Tableau.