Skip to main content

Widget customization - Pie and doughnut charts

Note

This option pertains to the Hyperproof TPRM product line.

Widget customization options vary based on the chart type selected. For details about accessing the widget Customize tab and other chart types, see Widget customization.

Pie and doughnut charts are used to represent data as proportional segments of a whole. They are configured similarly, with the main visual difference being that a doughnut chart has a hollow center, while a pie chart does not.

To create a pie or doughnut chart, you need at least two columns in the data table.

  • One column for categories, such as Risk category

  • Another column for values to aggregate, such as Entity ID.

Additional customizations include:

  • Percentage Display - By default, both pie and doughnut charts show data as percentages. You can disable this display using the Disable Percentage option if you prefer to show absolute values instead.

  • Legends - You can also disable the legends, which typically display category names alongside their corresponding colors. This option is useful for a cleaner look when legends aren’t necessary.

Example pie or doughnut chart configuration: Vendor count by risk category

Note

The example data shown here is for illustration purposes only and does not exist by default in your organization.

Walk through this sample configuration to create a pie chart that shows the vendor count by category.

  1. In the Chart Type tab, select either Pie or Doughnut chart as the chart type.

  2. On the Configure data tab, under Select fields, choose the field representing a unique vendor identifier, such as Entity ID, and Risk Category, representing the category marked for each vendor.

  3. Under Aggregation, add a Count aggregation to the Entity ID field to get the total number of vendors created for each month.

  4. Under Group by, select the Risk Category field to segment the data by category.