问题
Geomap chart usually shows entire world.
How to show one country's region and color them according to my data?
Also how can I group my data in a table so data studio can actually represent regions of my country?
e.g. i have 3 countries and number of accounts in each country, in what column can i put regional data for my country?
country account_number region
russia 324 ??
kazakhstan 5785 ??
america 2342 ??
EDIT:
i have added a report , data studio recognizes the country by country code, but from there it's not clear how to highlight regions by numbers.
here
@Nimantha
回答1:
One way it can be achieved is by using:
- Chart Type: Google Maps
- Bubble Location:
region
- Bubble Colour:
country
- Metric:
metric
Created an Editable Google Sheet with the sample data below with some random values for the metric
field as well as adding a few values for the region
field:
+---------------+----------------+-----------------+--------+
| country | account_number | region | metric |
+---------------+----------------+-----------------+--------+
| Russia | 324 |Moscow | 54 |
| Russia | 325 |Saint Petersburg | 36 |
| Russia | 326 |Krasnodar Krai | 14 |
| Kazakhstan | 5785 |Almaty | 31 |
| Kazakhstan | 5786 |Astana | 57 |
| Kazakhstan | 5787 |Kyzylorda | 58 |
| United States | 2342 |New York | 28 |
| United States | 2343 |California | 99 |
| United States | 2344 |Texas | 30 |
+---------------+----------------+-----------------+--------+
Editable Google Data Studio Report as well as a GIF to elaborate (Feel free to edit and test out the chart):
来源:https://stackoverflow.com/questions/62039064/how-to-make-geomap-chart-display-one-specific-country-and-its-regions-in-data-st