China Map¶
Used to display the distribution of Metrics data across different provinces.
Use Cases¶
- View data containing geographical location information
- View dispersed data, such as population density
- Compare data size through color depth
Chart Query¶
Prerequisites
The Metrics query dataset must contain a tag representing province, and the query conditions must include a group by province, otherwise the chart cannot be added successfully.
Four query methods are supported:
- Simple Query
- Expression Query
- Promql Query
- Data Source Query
You can add multiple queries, but the Tag for by (grouping) must be consistent.
For more detailed instructions, refer to Chart Query.
The chart query matches regions by province and colors by Metrics value:
| Option | Description |
|---|---|
| Province Tag | Select the tag representing the province, which must be a grouped tag in the query. ❗️ The tag name for the province tag does not necessarily have to be province, as long as the value is a provincial administrative region. |
| Metrics | When multiple Metrics queries are added, the main displayed Metrics can be set. The "Main Display Metrics" determines the Metrics for the color gradient of the blocks. |