how to make geomap chart display one specific country and its regions in data studio?

耗尽温柔 提交于 2021-01-28 10:13:18

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!