Before you can use geolocation, you need to add your geographic attributes to Columns and your metric to Metrics. You must use the Latitude and Longitude attributes. The Country attribute values will not render properly on maps.
The following are the available geolocation charts:
If you select the map visualization, circles will appear over each location where there is data. Explore will aggregate overlapping points until you zoom in.
Below is an example of the default map view.
Initially, maps will auto-zoom and center based on the location of data points. You can overwrite this in Chart configuration > Chart, then select the manual position option. The manual option is useful if you want to focus in on your main support office or your largest customer base.
When you use the map type, you can edit the following options in the Chart configuration menu:
- In Chart, you can edit the display of results. Results can be shown as colored circles or as a heatmap. If you select heatmap, you can edit the color range in Chart. Heatmap results will resemble the image below:
- If you are using the Row Selector, you can assign a color palette to represent the attribute's different values. You can select a new color palette in Colors > row all.
- In Chart, you can change the radius of points, the opacity of circles, merging options, and the initial map position. You can also change the base layer of the map. Below is an example of the same map, but with a terrain base layer and zoomed in to the United States.
Instead of representing results by circles, the choropleth chart highlights areas. You can zoom in to view more details on which areas contributed results. The choropleth uses a gradient to show the areas with the highest and lowest results. This geolocation chart is useful if you are interested in a high-level overview, rather than individual details.
If you want to zoom in or zoom out, select an area and the interaction option. After you zoom in, a zoom legend will appear on the left side of your report. For example, the map below is zoomed in to the state level. The zoom legend gives the option to return to the country or world view.
For the choropleth, you can select different projections in Chart configuration > Projections. The different projections will change how your world map is displayed. By default, your chart will be displayed in the Miller projection.
- In Chart, you can choose to show the latitude and longitude lines by checking Display the graticule.
- In Colors, you can select a new gradient style in Color encoding. You can also change the color of the land and the minimum and maximum values.
- In Zoom, you can edit the zoom legend range, color, and visibility.