Charts
Display your data in a visual format using different types of charts: Categories, Histogram, and Pie chart.
Categories
The categories widget allows you to visualize the distribution of a categorical field from a selected layer by computing statistical analyses and generating groups by the selected field.
1
Drag and drop the
Categories widget on a panel and select your layer.2
Under
Info, add a Title and optional Description for the widget.3
Choose the
statistic method you want to apply. It can be Count, Sum, Min, Max, or add your own Expression.4
Choose the
field onto which the statistics should be applied. Sum, min, and max can only be applied to numeric fields.5
On
Group by field, select the field you want your results to be grouped by.6
Under
Style, configure the chart appearance:Base Color— sets the default bar colorValue-based styling— when enabled, bars are colored based on the selected styling field. Additional options appear:Styling field— chooseStatistics field(color by computed value) orGroup-by field(one color per category)Color scale— classification method (e.g. Quantile); shown when Styling field is set to Statistics fieldPalette— color palette for the chartOrder (n/n)— lists all category values. UseAdd all/Remove allto include or exclude categories. Drag the ⋮⋮ handle to reorder. Use the ⋮ menu toRenameorRemoveindividual items.
Selection Color— color used to highlight a selected bar; only visible whenSelection Responseis set toHighlight
7
Under
Options:Selection Response— chooseFilterto filter all connected widgets when a bar is clicked, orHighlightto highlight the selected bar without filteringFilter viewport— makes only the data within the current map view visibleNumber format— set the number format from the dropdown list

Histogram
The histogram widget allows you to visualize the distribution of a numeric field from a selected layer by count.
1
Drag and drop the
Histogram widget on a panel and select your layer.2
Under
Info, add a Title and optional Description for the widget.3
Choose the
numeric field which you want to visualize. The statistical method applied will be count. 4
Under
Style, configure the chart appearance:Base Color— sets the default bar colorHover Color— color shown when hovering over a barNumber of Bins— number of histogram buckets (1–20, default 10)X-axis ticks— add custom tick values for the X-axis (enter with Enter or comma)Field Display Name— optional custom label for the field shown in the chartSelection Color— color for the selected portion; only visible whenSelection Responseis set toHighlight
5
Under
Options:Selection Response— chooseFilterto filter all connected widgets when a bar is clicked, orHighlightto highlight the selected portion without filteringFilter viewport— makes only the data within the current map view visibleNumber format— set the number format from the dropdown list

Pie chart
Pie chart widget allows you to visualize the distribution of a field from a selected layer.
1
Drag and drop the
Pie chart widget on a panel and select your layer. 2
Under
Info, add a Title and optional Description for the widget.3
Choose the
statistic method you want to apply. It can be Count, Sum, Min, Max, or add your own Expression.4
Choose the
field onto which the statistics should be applied. Sum, min, and max can only be applied to numeric fields.5
Select the
field you want your results to be grouped by.6
Under
Style, configure the chart appearance:Chart type— chooseDonut,Pie, orHalf donutLabel size— chooseS,M, orLLayout— chooseCenter active(shows the active slice's percentage in the center),All labels outside, orLegendPaletteandOrder (n/n)— set the color palette and manage which categories are shown. UseAdd all/Remove allto include or exclude items. Drag to reorder. Use the ⋮ menu toRenameorRemoveindividual items.
7
Under
Options:Filter viewport— shows only data within the current map view
info
Results will be visualized in percentage.

tip
Where statistical methods can be applied, count, sum, min, max and expression are the available options. Check out our Expressions documentation for more information.