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.
Categories widget on a panel and select your layer.Info, add a Title and optional Description for the widget.statistic method you want to apply. It can be Count, Sum, Min, Max, or add your own Expression.field onto which the statistics should be applied. Sum, min, and max can only be applied to numeric fields.Group by field, select the field you want your results to be grouped by.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. QuantileGlossaryQuantile classificationA way to group data into classes for a map so that each class holds the same number of features, whatever the range of values inside it.Read more ↗); 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
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.
Histogram widget on a panel and select your layer.Info, add a Title and optional Description for the widget.numeric field which you want to visualize. The statistical method applied will be count. 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
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.
Pie chart widget on a panel and select your layer. Info, add a Title and optional Description for the widget.statistic method you want to apply. It can be Count, Sum, Min, Max, or add your own Expression.field onto which the statistics should be applied. Sum, min, and max can only be applied to numeric fields.field you want your results to be grouped by.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.
Under Options:
Filter viewport: shows only data within the current map view
Results will be visualized in percentage.
Where statistical methods can be applied, count, sum, min, max and expression are the available options. Check out our Expressions documentation for more information.