Donut Chart

How to build a Donut Chart

B
Written by Blake Hester
Updated over a week ago

Donut Charts represents data in the form of segments, where each segment corresponds to a category or data point and is represented by a portion of the donut. The entire circle represents 100% of the data, and individual segments represent the percentage distribution of different categories.

The Donut Chart below represents the different priority of all active Incidents.

Let's look at the data and chart options for the donut chart above.

We are dealing with incidents in this Donut Chart so we will be using the incident table.

Conditions: We are looking at incidents that are active for this Donut Chart. The conditions are set to produce only active incident data.

Group By: Use Group By to determine what the segments in the Donut Chart will represent. For this example the Group By input is set to priority, therefore the segments of the Donut Chart are grouped based on the priority of each incident.

Aggregate Type: Refers to a data aggregation method or function used to combine or summarize data from multiple records. They allow users to perform calculations on sets of records to derive meaningful insights. Some common aggregate types include:

  1. Count: Calculates the number of records in a set.

  2. Count Distinct: counts the number of unique, non-duplicated values in a field.

  3. Sum: Adds up the values of a specified field for a set of records.

  4. Average: Computes the average value of a specified field for a set of records.

  5. Minimum: Finds the minimum value of a specified field in a set of records.

  6. Maximum: Determines the maximum value of a specified field in a set of records.

Aggregate Field: refers to a field that displays an aggregated value based on the data from other fields. These fields are used to perform calculations or summarize data from related records.

Now let's look at the styling for this Donut Chart. A few changes were made to the default style setting to make the chart easily consumed.

A custom title of "Incidents by Priority" is set to give a quick insight of the data the Donut Chart is displaying.

Next the Display Legend toggle is engaged to display the legend at the bottom of the chart. The legend shows what each priority color in the Donut Chart represents.

Next the Data percentages toggle is engaged, displaying the percentage of each segment in the Donut Chart.

Did this answer your question?