# Function SunburstChart

SunburstChart(props, context?): null | ReactElement< any, any >

A React component displaying hierarchical data in the form of nested circle slices. This type of chart can be used in different scenarios, for example, to compare both categories and sub-categories. See Sunburst Chart (opens new window) for more information.

# Parameters

Parameter Type Description
props SunburstChartProps Sunburst chart properties
context? any -

# Returns

null | ReactElement< any, any >

Sunburst Chart component

# Example

An example of using the component to visualize the Sample ECommerce data source:

<SunburstChart
  dataSet={DM.DataSource}
  dataOptions={{
    category: [
       DM.Commerce.Сondition,
       DM.Commerce.Date.Years
     ],
    value: [measures.sum(DM.Commerce.Quantity)],
  }}
/>