Skip to main content

Pie chart

A pie chart shows the ratio between the values ​​as slices of a circle (donut). Each slice shows a value fraction of the whole (of 100%).

Use a pie chart to show the proportion of data attribute values.

Case examples:

  • show the distribution of the mean area of ​​buildings built in different periods of time:

    Pie chart showing distribution of buildings by mean area
  • show percentage distribution of buildings with different purposes:

    Pie chart with distribution of buildings by purpose

Main features

  • The grouping attribute defines what data slices are displayed. As a grouping attribute, you can select:

    • Text attributes: for example, firm category, building purpose, and others.
    • Numeric attributes: for example, number of reviews, building area, and others. To display data as multiple slices, specify the number of ranges and their limits in the Number of ranges field when creating a widget or editing it. You can set up ranges of different sizes. The specified upper (right) limit is not included in the range.
  • The aggregation attribute defines the size of slices. Aggregation is performed within one group or range. As an aggregation attribute, you can select:

    • Number of objects: to count the number of values ​​in a group or range.
    • Numeric attributes: to count the value of this attribute within each group using aggregation functions: total, mean, minimum, maximum value, median, and percentile.
  • A pie chart is suitable for displaying a small number of aggregation attribute values, e.g. for the top 5 values. If there are more attributes and some of them take up a small part of the pie, they will be displayed on the chart as narrow slices that are difficult to see in the widget.

  • A pie chart should contain all grouping attribute values ​​from the sample to display the correct percentages. If you selected the top 5 or top 10 values ​​as the text grouping attribute when creating a widget or editing it, group the remaining values ​​that are not in the top by selecting the Show other checkbox.

  • To see percentages, when creating a widget or editing it, select the Values ​​in percentage checkbox.

  • You can click the chart slices to filter data by the selected attribute without editing the data sample. For more information, see the Filtering through widgets section.

  • If the filtering by territories or data attributes is applied on a dashboard scene, only the values ​​that match the filters are displayed in the widget. For more information, see the Filtering data on a dashboard instruction.

Creating a widget

Example of creating a pie chart
  1. Go to the Dashboards tab.

  2. Open the required dashboard.

  3. Open a scene using the arrows Left arrow and Right arrow. If there is only one scene in the dashboard, it opens automatically when you open the dashboard.

  4. In the top menu of the dashboard, click Widgets icon.

  5. Select the Pie chart widget type.

  6. Specify the required parameters:

    • Layer: data layer used to build a chart in the widget.
    • Grouping attribute: attribute used to group data.
    • Grouping attribute value: if you select a text grouping attribute, specify its values. You can select particular values ​​from the data sample in the drop-down list or generate the top 5 or top 10 values ​​from the sample (the top values ​​are automatically calculated based on the aggregation attribute).
    • Aggregation attribute: attribute used to aggregate data and calculate the values. If you want to display only the number of values, select Number of objects.
    • Aggregation type: function used to calculate aggregation attribute values. Aggregation is performed within each group or range of data.
  7. Set the remaining widget parameters if necessary.

  8. Click Create.

The new widget is automatically added to the selected dashboard scene.

Note

When working with the uploaded data, make sure it contains at least one attribute to build a chart.

Parameters

General widget settings

Parameter
Description
Widget nameWidget name.
LayerData layer used to build a chart in the widget.
Change widget typeClick to select another widget type from the list. The configured widget parameters are saved.

Circle slices

Parameter
Description
Grouping attributeAttribute used to group data on the chart. The grouping attribute defines what data slices of a circle are displayed.
Grouping attribute valueThe number of slices that are displayed on the chart. As value, you can select:
  • Any attribute values ​​from the data sample. When you modify the sample, the available attribute values are also changed. You can change the order of the slices on the chart if necessary.
  • The top 5 or top 10 values ​​from the data sample that are automatically calculated based on the aggregation attribute. To display the sum of the last value in the top and the remaining values ​​in the sample below this position in the last slice on the chart, select the Show other checkbox.

For text grouping attributes only.
Aggregation attributeNumber of objects or a numeric attribute used to aggregate data on the chart. Aggregation is performed within each group or range of data. The aggregation attribute defines the size of circle slices.
Aggregation typeFunction used to calculate aggregation attribute values in each group or range of data:
  • Sum: the sum of the values.
  • Mean: the mean value.
  • Min: the minimum value.
  • Max: the maximum value.
  • Median: the median value that is equal to or greater than 50% of the values ​​in the group.
  • 80th percentile: the value that is equal to or greater than 80% of the values ​​in the group.
  • 95th percentile: the value that is equal to or greater than 95% of the values ​​in the group.
  • 99th percentile: the value that is equal to or greater than 99% of the values ​​in the group.
Number of rangesThe number of ranges (slices) that are displayed on the chart. The available number of ranges depends on the data, the maximum number is 10. Ranges are calculated automatically, but you can set them manually by entering the required range limits. The specified upper (right) limit is not included in the range.

To add a range, click Plus icon. To delete a range, click Trash icon. To recalculate ranges after configuration, click Recalculate ranges.

For numeric grouping attributes only.

Color

Parameter
Description
ColorSelecting a color scale (a set of prepared color samples) according to which elements on the chart are colored.

Description

Parameter
Description
TextText displayed in the widget above the chart. The maximum number of characters is 5000.
H1Title (heading 1).
H2Heading 2.
H3Heading 3.
BBold.
IItalic.
UUnderline.
LinkInserting a link.
ColorText color. You can select a color from the palette or specify it in HEX format.

Additional settings

Parameter
Description
Show legendShows the values ​​of the grouping attribute and the corresponding values ​​of the aggregation attribute.
Values ​​in percentageShows the values ​​of the aggregation attribute as a percentage.
Show sourceShows the name of the data layer, the grouping attribute and the aggregation attribute, and also the aggregation type.
Show empty rangesShows on the chart the ranges of values ​without data.
For numeric grouping attributes only.
Split sectorsShows gaps between slices of a circle.
Inner radiusThe radius of an empty circle inside the chart as a percentage from its size. A value of 0% corresponds to a pie chart without the empty circle in the center, 100% corresponds to a donut chart with the maximum radius of the empty circle in the center and narrow sectors.
Total valueShows the sum of the values ​​of the aggregation attribute in the sample.
Mean valueShows the mean value of the aggregation attribute in the sample.
Minimum valueShows the minimum value of the aggregation attribute in the sample.
Maximum valueShows the maximum value of the aggregation attribute in the sample.
Median valueShows the median value of the aggregation attribute in the sample.
80th percentileShows the 80th percentile value of the aggregation attribute in the sample.
95th percentileShows the 95th percentile value of the aggregation attribute in the sample.
99th percentileShows the 99th percentile value of the aggregation attribute in the sample.
Total objects in the assetShows the number of objects in the sample used to calculate the values.

What's next?