[]
        
(Showing Draft Content)

Sunburst Chart

A Sunburst chart is also known as a multi-level pie chart. This chart is ideal for visualizing multi-level hierarchical data depicted by concentric circles. The circle in the center represents the root node surrounded by the rings representing different levels of hierarchy. Rings are divided based on their relationship with the parent slice, with each of them either divided equally or proportional to a value. This type of chart helps users in breaking down data into different entities for identifying and visualizing multilevel parent-child relationships in different business scenarios, quickly and efficiently.


Example of Treemap chart

Design a Sunburst Chart in Wyn Enterprise

From the Dashboard Toolbox, open the Data Visualization node and drag-drop the Sunburst Chart scenario onto the design area.


Adding a chart scenario from the Dashboard Toolbox

Bind Dataset to Chart Scenario

With the scenario selected, select the dataset from the Data Binding tab. Once the dataset is successfully loaded in the designer, the data binding panel automatically expands and displays the data attributes available in the dataset.


The following image shows the chart scenario bound to the 'RetailDataset' dataset.


Adding a dataset to chart scenario


On dragging and dropping the data attributes to the data binding area of the scenario, the chart is plotted accordingly, with a default chart title on the design area.


Chart Scenario with bound attributes

By default, the data labels in the chart scenario are hidden. You can display the data labels in the scenario by setting the Show Data Label property to 'True', with the Value property set to 'True'. To show labels for data attributes bound to 'Details', set the Details property to 'True'.

new data lables sunburst chart

Data Labels - Display Pattern

The sunburst chart supports the line break (, \n()) in the data label, and you can add a line break between Details, and Value, by using the Display Pattern property for the data labels. If you hide some parts of the label, like the value, series, and category, the part will be removed from the pattern, and the related connector (the prefix , \n ()) will also be removed.

By default, the display pattern selected is Detail(Value/Percentage) as shown below.


display pattern data labels sunburst chart

You can select any pattern from the dropdown list.

display pattern vaues

Preview the chart, the data labels will be shown as per the display pattern selected in the designer.

preview data pattern in sunburst chart

Format Data Attributes

You can format the data attributes and control the display of data by performing a variety of operations such as renaming, modifying data format and display unit, creating a hierarchy field, applying an aggregation method, etc. Using these operations, you can control the display of data attributes in a scenario.


For more information about these operations, see Data Attributes.


In the following image, the data format for the data attribute is modified to display the sales revenue in 'currency'.


Formatting fields in a chart

Analyze Data

Wyn Dashboards scenarios support rich data analysis and exploration capabilities that can help analyze massive amounts of information and make data-driven decisions. For example, adding filters to scenarios, sorting data, applying conditional formatting, etc. Note that you can apply all these operations using the Action Bar corresponding to each scenario in the designer.


For more information, see Data Analysis and Interactivity in Dashboards.


In the following chart scenario, the filter is applied to show data only for the selected product lines - camping equipment, outdoor protection, and golf equipment.


Filtered data in a scenario

Customize Chart Appearance

You can customize the default chart appearance by setting properties in the Inspector tab of the scenario such as adding a border, modifying data labels, setting chart style, renaming chart title, etc.

  1. Add Click Action

    Use the Click Action property to trigger specific dashboard commands like showing or hiding other dashboard scenarios. From the Interaction section of the Inspector Panel, search the Click Action property and choose a trigger command option from the following:

    1. None: To disable any interaction on click.

    2. Show Tooltip: To display the tooltip on click action.

    3. Keep: To filter the data view by applying a condition on the data points.

    4. Exclude: To remove or hide the selected data points from the current view.

    5. Drill Down: To display more detailed information using the Wyn Drill Down feature.

    6. Jump: To redirect to another dashboard, report, or external URL. See the Jump To article for more information.

    7. Command: To trigger specific dashboard commands like show, hide, or switch. Click + Add to access the Command Settings popup and select a command from the Command dropdown.

      1. Show: To display the scenario on click.

        CommandSetting-Show

      2. Hide: To hide the scenario on click.

        CommandSetting-hide

      3. Toggle: To toggle the selected scenario on click action.

      4. Switch Page: To switch pages on click.

        CommandSetting-switchPage

      5. Switch Tab: To switch the tab on click.

        CommandSetting-switchTab

      6. 3D Scene Custom Script: To pass the selected data point as a parameter to the 3D scene script. This script creates specific UI effects in 3D scenes such as highlighting objects or changing the camera angle.

      7. Drill Down: To drill down detailed information on the selected data point. See the Drill Down article for more details.

        CommandSetting-3dScene

      8. Jump: To create a redirection to another dashboard, report, or external URL. See the Jump To article for more information.

        CommandSetting-jump

      9. Show/Hide Combined Map Layer: To show or hide the layer of combined maps.

        CommandSetting-CombinedMap

  2. Set Chart Style

    Customize the chart colors in the scenario by using the Palette property in the Inspector tab. Set the property to a suitable color from the color palette.


    Changing the color palette for the chart scenario

  3. Change Radius

    The Radius property on the Sunburst charts allows you to change the inner and outer radius of the charts. Locate the Radius property under the Chart Style section of the Inspector Panel and use the slider or input boxes to set the minimum (inner) and maximum (outer) values of the radius of the chart. These values are represented as percentages, ranging from 0% to 100%. By adjusting the radius, you can control the size of the chart relative to its component container. The default value of the outer radius for Sunburst charts is 100%.

    RadiusProperty-Sunburst


  4. Enable Automatic Carousel

    Enable the automatic carousel effect in the scenario using the Automatic Carousel property to create a highly interactive and effective dashboard. The automatic carousel effect when enabled, highlights the chart slices one by one. You can specify the time interval for the automatic carousel by using the Interval (seconds) property.


    Changing Axis Titles


    You can see this effect when previewing the dashboard in the Dashboard Viewer.


    Changing Axis Titles