China Map¶
Used to display the distribution of a specific metric data across different provinces.
Use Cases¶
- View data containing geographical location information
- View scattered data distributions, such as population density
- Compare data sizes through color intensity
Chart Query¶
Prerequisites
The dataset for metric query must include a tag representing province, and the query condition 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 by (grouping) Tag must be consistent.
For more detailed instructions, refer to Chart Query.
The chart query matches regions by province and matches colors by metric value:
| Option | Description |
|---|---|
| Province Tag | Select the tag representing the province, which must be a grouped tag in the query.province, as long as the value is a provincial administrative region. |
| Metric | When multiple metric queries are added, you can set the primary metric to display. The "Primary Display Metric" determines the metric for the color gradient of the blocks. |