Sunburst chart

更新时间:
复制 MD 格式

A sunburst chart, also known as a multi-level pie chart, uses a series of nested rings to display a hierarchical structure. It is ideal for visualizing complex hierarchical data, such as a company's organizational structure, budget allocations across departments, or website navigation paths.

Prerequisites

You have created a dashboard. For more information, see Create a dashboard.

Overview

A sunburst chart consists of multiple rings, where each ring represents a level in the hierarchy. Each sector represents a parent category or a subcategory. The innermost ring represents the top-level categories, and the outer rings represent their subcategories. The chart uses different colors and text labels to clearly show the relationships and proportions between levels.image

You can analyze the following information from a sunburst chart:

  • Hierarchical structure: Each ring in a sunburst chart represents a level. In the preceding figure, the innermost ring represents top-level product categories, and the outermost ring represents the corresponding subcategories, clearly displaying the hierarchical relationship between product types.

  • Proportional distribution: The size of each sector in the chart shows the relative proportions of various data categories. For example, the size of the sectors in the outer ring in the preceding figure shows that tables account for a large proportion of furniture products.

Use cases

Common use cases for a sunburst chart include:

  • Organizational structure analysis: Displaying a company's organizational structure and hierarchy, and viewing the headcount distribution and proportion at each level.

  • Market sales analysis: Showing the sales proportion and relationships of various product categories in the market.

  • Geographical data analysis: Displaying the sales performance and proportion of a specific product in different regions.

Benefits

  • Visualization: Customize chart styles for a more intuitive display with options for a legend, data labels, and tooltips.

  • Annotations: You can add custom notes and endnotes, and configure a jump to an external link to connect to other systems.

  • Interactivity: It supports linkage, jump, and in-chart filtering.

Configure chart fields

This example shows how to configure fields to analyze order count by product type.

  1. In the Data pane, select the desired fields, then drag or double-click them into the corresponding areas on the Fields tab.image

    • In the Sector Label/Dimension area, add the dimension fields for the chart's top-level categories and subcategories.

      In this example, drag the Product Type and Product Subcategory fields to this area as the main categories for analysis.

      Note
      • You can add up to 5 dimension fields.

      • The fields must be ordered with top-level categories first, followed by subcategories.

    • In the Sector Angle/Measure area, add the primary measure for analysis.

      In this example, drag Order Count to this area as the primary measure for analysis.

      Note

      You can add up to 10 measure fields. Once added, you can switch between them by using the metric filter in the upper-right corner.111

  2. Click Update. The system automatically updates the chart.image

  3. (Optional) To view data for a measure in the tooltip, add the measure to the Tooltip/Measure area.image

  4. (Optional) To filter the displayed data, drag the field you want to filter by to the Filter area. For example, to filter out data from certain regions, drag the Region field to the Filter area, click the image icon, and select the data you want to display in the Set Filters window.image

  5. (Optional) Auto Refresh

    If you enable this option, the chart data refreshes automatically at a set interval. For example, setting the interval to 5 minutes refreshes the data every 5 minutes.image

Configure chart style

This section describes how to configure chart styles. For general title and card settings, see Configure Chart Title Area.

image

Plot area

On the Style tab, in the Sector Area section, configure the styles for the sunburst chart sectors.

image

Parameter

Description

Color mode

Set the color mode for the sectors. You can select Decrement by Category or Same Color by Category.

  • Decrement by Category: The colors for sectors within the same category transition from dark to light, from the parent category to its subcategories. This mode emphasizes the depth and layering of the hierarchy, allowing viewers to quickly identify the position of different levels and their proportional relationships.image

  • Same Color by Category: Sectors within the same category have the same color. This mode emphasizes the distinction between different categories, helping viewers quickly identify different categories at the same level and their proportional relationships.image

Color settings

Configure a color scheme for the sectors. You can customize the color for each top-level dimension value.111

Outer ring radius

Set the radius of the chart's outer ring.111

Inner ring radius

Set the radius of the chart's inner ring.111

Legend

In the Legend section, click the image icon to enable the chart legend and configure its style.

  • PC settingsimage

    Parameter

    Description

    Position

    Set the display position and alignment of the legend.

    • If the position is Top or Bottom, you can choose a Left, Center, or Right alignment. If you display proportion data, you can also set the Proportion Decimal Places to 0, 1, or 2.

    • If the position is Left or Right, you can choose a Top, Center, or Bottom alignment. You can also set the spacing between the legend and the chart content.

    Text

    Set the legend text style, including font color, size, weight, and italics.

    Display label content

    When enabled, the legend can show measure values and proportions. The following settings are available:

    • Content: Set the data content to display in the legend. You can select Measure or Proportion.

    • Spacing with Main Legend: Set the distance between the data text and the legend text.

    • Text style: Set the style for the data text displayed in the legend.

    • Proportion Decimal Places: When Proportion is selected for Content, you can set the number of decimal places for the proportion value.

  • Mobile settingsimage

    Parameter

    Description

    Position

    Set the display position and alignment of the legend on mobile devices.

    • If the position is Top or Bottom, you can choose a Left, Center, or Right alignment.

    • If the position is Left or Right, you can choose a Top, Center, or Bottom alignment. You can also set the spacing between the legend and the chart content.

    Note

    When the Position is set to Top, you can enable labels under the legend. When enabled, custom alignment is not supported.

    Text

    Set the text style for measure names in the legend on mobile devices, including font color, size, weight, and italics.

    Display label content

    When Position is set to Top, click the image icon to enable labels under the legend.

    Content

    When enabled, labels under the legend display measure values by default. You can also choose to display proportion data.

    When you choose to display Proportion data, you can set the Proportion Decimal Places to 0, 1, or 2.

    Style

    Set the layout of the label text under the legend. The following options are available:

    • Multi-line Equal: Labels are arranged in a grid. The number of columns is set by Max Items Per Row, and the number of rows is set by Max Items Per Page.image

    • Single-line Tiling: All label content is displayed in a single row.image

    • Plain Text: Displays only text content without icons. The text color matches the color of the corresponding measure in the chart.image

    Proportion position

    When Content includes Proportion data and the Style is set to Multi-line Equal or Single-line Tiling, you can set the position of the proportion data. You can place it Below or to the Right of the value label.111

    Text style

    When the Style is set to Multi-line Equal or Single-line Tiling, you can set the style for the value and proportion text.

    Display full text

    When the Style is set to Multi-line Equal, measure names that are too long might be truncated. To display the full measure names, select Display Full Text.

Data label

In the Data Label section, configure whether to display data labels and their styles.

image

Parameter

Description

Display All

This option controls whether all labels are displayed, even if they overlap.

When space is limited, labels might overlap. To improve readability, turn off this option to automatically hide some labels.111

Label mode

Set the display mode for data labels. You can select Normal Inner or Outer Ring Divergence.111

  • Normal Inner: Labels are displayed inside each node's sector. In this mode, you can adjust the direction of the label text.

  • Outer Ring Divergence: Only the innermost and outermost labels are displayed, and the outermost labels appear outside their sectors. In this mode, you cannot adjust the direction of the label text.

Direction

If the Label Mode is set to Normal Inner, you can adjust the direction of the data label text. You can select Auto, Radial, or Tangent.111

Text

Set the text style for data labels.

Tooltip

In the Tooltip section, click the image icon to enable tooltips and configure their style.

Note

The fields displayed in the tooltip must be configured in the Tooltip/Measure area on the Fields tab.

image

Parameter

Description

Content

Select whether to display proportion information in the tooltip. If you choose to display proportion data, you can also set the Proportion Decimal Places to 0, 1, or 2.

Background Color

Set the background fill color of the tooltip.

Text

Set the style of the text within the tooltip, including font color, size, weight, and italics.

Mobile tooltip

Tooltips for PC and mobile can be enabled or disabled independently. You can switch to the mobile editing view by clicking the PC/mobile toggle button (image) at the top of the dashboard editor page to edit the mobile tooltip. Font size is set separately for PC and mobile; other style settings are shared.image

Total

In the Style tab, use the Total section to configure whether to display the total for the current measure in the chart.image

Parameter

Description

Custom name

Set a custom name for the total based on your needs, such as "Annual Total" or "Quarterly Total".

Text style

Set the text style for the total name and its value.

Auxiliary display

In the Style tab, use the Auxiliary Display section to configure the metric filter display.image

Parameter

Description

Enable metric filter display

Specify whether to enable the metric filter display. When enabled, you can configure the field that is selected by default in the filter.

Chart analysis configuration

Parameter

Option

Description

Data Interaction

View only

To view data for only a specific category, click its sector. To exit this mode, click the blank area in the center of the chart or the button next to the title.111

Linkage

If the data you need to analyze spans multiple charts, you can use chart linkage to connect them. For more information, see Linkage.

Jump

If the data you need to analyze spans multiple dashboards, you can use a dashboard jump to connect them for analysis. Jump supports three methods: in-product jump, in-page component, and external link. For more information, see Jump.

Next steps

  • To allow others to view the dashboard, you can share it with specific users. For more information, see Share a dashboard.

  • To build advanced, topic-based analyses with navigation menus, you can integrate your dashboards into a data portal. For more information, see Create a PC data portal.