Geographic fields help you visualize your data in maps. The type of geographic dimension selected for a chart determines how your data will be plotted on the map. For example, to plot your data by city, select a dimension containing city names or valid city codes. To see your data plotted by country, select a dimension containing country names or codes. The actual values used to encode the geographic information must conform to the relevant standard used for that dimension, if any. Some geographic types can only be used in specific data source types.
This article defines the geo dimension types supported by Data Studio, along with notes for how to use these in Geo charts and Google Maps.
Address |
Usage notesFor accuracy, addresses should be complete, for example: 1600 Amphitheatre Pkwy, Mountain View, CA 94043. For a partial address ("1600 Amphitheatre Pkwy"), Google Maps might not be able to resolve the city, region, or country. |
City |
Usage notesGeo charts plot the City field types with map markers, rather than shaded regions, with larger markers representing greater metric values than smaller markers as shown in the image below.
Geo chart zoom areas supportedWorld, Continent, Sub Continent, Country, Region Because city names are not unique, you should use the Geo charts zoom area to narrow down the map area and avoid duplication. Data limitsFor Geo charts using non-Google Analytics data sources, only the top 50 rows of data are plotted. This helps minimize the chance of erroneous data due to city name duplication. Google Analytics data sources automatically provide the latitude and longitude for the city dimension. This lets Data Studio accurately map city locations, which in turn allows it to plot the top 500 rows of data. Google Maps have a limit of 1,000 geocoded locations. |
City Code |
Usage notesSimilar to the City dimension, Geo charts plot the City ID field types with map markers, rather than shaded regions, with larger markers representing greater metric values than smaller markers. Geo chart zoom areas supportedWorld, Continent, Sub Continent, Country, Region Data limitsOnly the top 500 rows of data can be plotted for this field type in a Geo chart. Google Maps have a limit of 2,000 geocoded locations. |
Continent |
Usage notesSetting a field to type Geo > Continent in non-Google Analytics data source types will cause charts using that field to display the error message, "Specified data cannot be rendered." Geo chart zoom areas supportedWorld |
Continent ID |
Geo chart zoom areas supportedWorld |
Country |
Usage notesGeo chart zoom areas supportedWorld, Continent, Sub Continent |
Country Code |
Usage notesGeo chart zoom areas supportedWorld, Continent, Sub Continent |
Latitude Longitude |
Usage notesGeo chart zoom areas supportedWorld, Continent, Sub Continent, Country, Region Data limitsGoogle Maps supports up to 10,000 latitude-longitude values. |
Metro Code |
Usage notesMetro Code is only available in Google Analytics data sources. Setting a field to type Geo > Metro Code in other data source types will cause charts using that field to display the error message, "Specified data cannot be rendered." Metro and Metro codes are used to plot media markets (also known as DMA Regions). These geo field types are only available for the United States. Metro codes for the US start with 200. Geo chart zoom areas supportedCountry, Region |
Metro |
Usage notesMetro is only available in Google Analytics data sources. Setting a field to type Geo > Metro in other data source types will cause charts using that field to display the error message, "Specified data cannot be rendered." Metro and Metro codes are used to plot media markets. These geo field types are only available for the United States. Geo chart zoom areas supportedCountry, Region |
Postal Code |
Usage notesFor bubble maps, Postal Code can be a U.S. ZIP code (for example, 94043) or an international postal code (example: L4L 9H8). For filled area maps Postal Code can be a U.S. ZIP code. |
Region |
Usage notesRegions correspond to province or state. Geo chart zoom areas supportedCountry Region is not available for the following countries: Region excluded countries
|
Region Code |
Usage notesRegions correspond to province or state. Geo chart zoom areas supportedCountry Region Code is not available for the following countries: Region Code excluded countries
|
Sub Continent |
Usage notesSub Continent is only available in Google Analytics data sources. Setting a field to type Geo > Sub Continent in other data source types will cause charts using that field to display the error message, "Specified data cannot be rendered." Geo chart zoom areas supportedWorld, Continent |
Sub Continent Code |
Usage notesGeo chart zoom areas supportedWorld, Continent |