Build a Simple Map

You can build several different types of maps for your geographic analysis in Tableau. If you're new to maps, or simply want to take advantage of the built in mapping capabilities that Tableau provides, you can create a simple point or filled (polygon) map similar to the examples below.

Prerequisites: To build a simple map, your data source must contain location data (for example, location names or latitude and longitude coordinates). If your data source doesn't contain location data, see the Map Data(Link opens in a new window) section for ways you can connect to location data.

  

This topic illustrates how to create a simple map using an example. To follow along with the example below, open Tableau Desktop and connect to the Sample-Superstore data source, which comes with Tableau.

Build a simple point map

  1. Navigate to a worksheet.

  2. In the Data pane, open the Location folder and double-click on State.

    A map view is automatically created because the State field is a geographic field. To learn more about geographic fields and how to create them, see Assign a geographic role to a field.

  3. From the Orders table in the Data pane, drag Sales to Size on the Marks card.

    The data points on the map update to show the amount of sales proportionally.

  4. Select Maps > Background Layers.

  5. In the Background pane, click on the Style drop-down and select Normal.

  6. Under Background Map Layers, clear Country/Region Names. The background map updates with the new settings.

Build a simple filled (polygon) map

  1. Navigate to a new worksheet.

  2. In the Data pane, open the Location folder and double-click on State.

    A map view is automatically created.

  3. On the Marks card, click on the Mark Type drop-down and select Map.

    The map view updates to a filled (polygon) map.

  4. From the Orders table in the Data pane, drag Sales to Colour on the Marks card.

    The polygons on the map update to show the amount of sales using colour.

Build a heatmap (density map)

Heatmaps, also known as Density Maps, help you identify locations with greater or fewer numbers of data points. Heatmaps are most effective when working with a data set containing many data points where there is substantial overlap between the marks on the map.

To learn more about Heatmaps and find out how to create and customize them, see Create Heatmaps that Show Trends or Density in Tableau.

To follow along with this example, download the heatmap_taxi_howto example workbook. (Click Download in the upper right-hand corner) and open it in Tableau Desktop.

  1. Navigate to a new worksheet.
  2. From the Data pane, drag both Pickup Latitude and Pickup Longitude onto the canvas.

A map view is automatically created.

Note: Because Tableau is averaging the latitude and longitude of the data, there is only one mark on the canvas. This will update when you add a measure.

  1. Drag a measure field, such as ID, to Detail on the Marks card.
  2. On the Marks card, click the Mark Type drop-down and select Density.

The marks update on the map to show the concentration of taxi pickups per location. The

darker colours indicate locations with more pickups, and the lighter colours indicate locations with fewer pickups.

See also:

Mapping Concepts in Tableau(Link opens in a new window)

Build Maps in Tableau(Link opens in a new window)

Customise How Your Map Looks(Link opens in a new window)

Thanks for your feedback!Your feedback has been successfully submitted. Thank you!