Pie chart | Urbi Pro | Urbi Documentation
Urbi Pro

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 building construction materials; show the percentage of men and women among the living population.

An example of a pie chart with the percentage distribution of building purposes:

Pie chart
  • Suitable for text attributes that display data categories (e.g. building purpose).
  • Suitable for numeric attributes (e.g. building area). To display data as 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 limit is not included in the range.
  • Suitable for displaying a small number of attribute values, e.g. for the top 5. 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 on the widget.
  • By default, the chart displays the top 5 or top 10 attribute values: you can specify the number when creating a widget or editing it in the Number of values field. To create the distribution across all attributes in the sample, group the values ​​that are not in the top: to do this, select the Show other checkbox.
  • To see percentages, when creating a widget or editing it, select the Values ​​in percentage checkbox.
Example of creating a pie chart
  1. Go to the Dashboards tab.
  2. Select the required dashboard.
  3. Click Layers icon.
  4. Click Layer menu icon next to the required layer and select Create widget.
  5. Set the widget parameters.
  6. Click Create.

Note

When working with the uploaded data, make sure that at least one attribute is specified in it to build a graph on the widget.

  • Widget name: name of a new widget.

  • Layer: data layer that is used to build a graph on the widget.

  • Attribute: data attribute that is used to build a graph on the widget.

  • Different graph settings are available, depending on the type of data attribute (text or numeric).

    • For text attributes:

      • Color: selecting a color scale (a set of prepared color samples) according to which elements on the graph are colored.
      • Number of values: number of attribute values that are displayed on the graph. The top 5 and top 10 values from the data sample are available.
      • Show other: shows the sum of the last value and the remaining values below this position at the last position in the top.
      • Values ​​in percentage: shows the percentage distribution of attribute values.
      • Show legend: shows the attribute values and the number of attribute data values.
    • For numeric attributes:

      • Color: selecting a color scale (a set of prepared color samples) according to which elements on the graph are colored.

      • Number of ranges: number of ranges with data that are displayed on the graph. 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 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.

      • Values ​​in percentage: shows the percentage distribution of attribute values.

      • Show legend: shows the data layer name and the attribute name that the graph is based on.

  • Description: text description of the widget. You can format the text: customize headings; make the text bold, italic, or underline the text; add a link; select the text color from the palette or specify it in RGB, HSL, or HEX format.

  • Additional settings: additional settings of data display on the widget. Available options depend on the type of data attribute.

    • For text attributes:
      • Show source: shows the data layer name and the attribute name that the graph is based on.
      • Statistics: data aggregation in the data sample.
        • Total objects in the asset: number of objects in the data sample, which are used to calculate the values.
    • For numeric attributes:
      • Show source: shows the data layer name and the attribute name that the graph is based on.
      • Show empty ranges: shows on the graph ranges of values without data.
      • Statistics: data aggregation in the data sample.
        • Total value: total attribute value in the data sample.
        • Mean value: average attribute value in the data sample.
        • Minimum value: minimum attribute value in the data sample.
        • Maximum value: maximum attribute value in the data sample.
        • Total objects in the asset: number of objects in the data sample, which are used to calculate the values.
  • Change widget type: click to select another widget type from the list. The configured widget settings are saved.