Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sunburst charts, known in Scuba as pie charts, are an effective way to display and analyze hierarchical data. Each level of the sunburst chart (hierarchy) is shown as a ring or circle. The innermost circle is the root (or top) of the hierarchy.

Rings are sliced and divided based on their hierarchical relationship. The angle of each slice is either divided equally under its parent node or can be made proportional to a value. Color can be is used to highlight hierarchical groupings or specific categories.

Working

...

in Pie View

A sunburst A pie chart in Scuba can be a single circle with no hierarchical data, or a series of concentric circles that represent multiple levels of hierarchical data. The measures that make up a query denote the relationships between the outer and the inner sunburst rings, as well as how the rings are broken into contributing pieces.

This section demonstrates how to create a multi-level sunburst pie chart. We start by structuring a query that compares two measures, then splits the results into two groups.

To create a multi-level

...

pie chart, do the following:
  1. Click Explore, specify variables then click the Pie View icon at the top of the screen.

    Image Added
  2. Specify filters for measure 1, then enter a unique name for the measure.
    In our example, we

...

  1. selected the hooli_events dataset, then chose to show the count of unique user actors Filtered to user actors with

...

  1. the event property age is greater than 20, then named the measure

...

  1. 21+ users.

...

  1. Image Added
  2. Click compare to... to display options for measure 2.Specify + measure icon to add a second measure, then specify the variables for measure 2 and optionally give it a unique name. Measure 2 will be compared with the previous measure and shown as a Your second measure will be shown as another ring in the sunburst pie chart. In our example, we chose to count the unique values of 

...

  1. action Filtered to all

...

  1. events, and named the measure 

...

  1. Actions.

...

  1. Image Added
  2. Specify options to Split by, clicking none and choosing from the drop-down list. Click the plus (+) sign to add another split by option. This groups the data into the selected categories that are displayed as circles in the sunburst pie chart. In our example, we chose to split by

...

  1. the age event property.

  2. Specify Starting and Ending times. In our example, we entered a Starting time of 200 7 days ago and an Ending time of now. Optional: Click + compare to... and specify a time Offset. This shows another set of charts for the offset time.

    Image Added
  3. Click GO, and then click the Sunburst View icon at the top of the window. We received the following results in our example. 

...

  1. to view your results!

...