Histogram
A histogram shows as vertical bars how often a value occurs in a set range of values, and also displays the type of distribution of values. The higher the histogram bar is, the more values of the data attribute are included in the corresponding range.
Use a histogram to show the distribution of data by fixed ranges that are set using a step size. Case examples: show the distribution of working population; show the distribution of the average bill in coffee shops.
An example of a histogram with the distribution of working population:
Main features
- Suitable for numeric attributes (e.g. building area).
- You can set a fixed range size (step size), such as 10, 20, 50, 100, or others. For example, to estimate the distribution of the average bill, use steps of 10 or 20 dollars. To estimate a distribution of age or the number of floors in buildings, use steps of 1 or 5. If you want to set up ranges of different sizes manually, use a bar or column chart.
- By default, the histogram displays only the first 100 ranges. To see all the data, increase the range in the Step size field when creating a widget or editing it.
- For text attributes (e.g. building purpose), instead of a histogram, you can use a column chart: they look the same and have the same settings.
Creating a widget
- Go to the Dashboards tab.
- Select the required dashboard.
- Click icon.
- Click icon next to the required layer and select Create widget.
- Set the widget parameters.
- 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.
Parameters
-
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 numeric attributes:
- Color: selecting a color according to which elements on the graph are colored. You can select a color from the palette or specify it in HEX format.
- Step size: size of the interval of the data that is displayed on the graph.
-
For text attributes (you can use a column chart instead of a histogram):
- 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.
-
-
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.
-
Appearance of the graph:
- Labels: labels of the attribute values on the graph.
- Axes: drawing axes on a graph.
- Grid: drawing a grid on a graph.
-
Additional settings: additional settings of data display on the widget. Available options depend on the type of data attribute.
- 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.
- For text attributes (you can use a column chart instead of a histogram):
- 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:
-
Change widget type: click to select another widget type from the list. The configured widget settings are saved.
What's next?
- Get to know more about other Widgets types.
- See available Operations with widgets.
- Quick start.
- Get to know how to work with Data and Data visualization.
- Get to know more about Layers and Dashboards.
- Get to know prepared Analytics presets.