Skip to main content

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 color
  • Value-based styling — when enabled, bars are colored based on the selected styling field. Additional options appear:
    • Styling field — choose Statistics field (color by computed value) or Group-by field (one color per category)
    • Color scale — classification method (e.g. Quantile); shown when Styling field is set to Statistics field
    • Palette — color palette for the chart
    • Order (n/n) — lists all category values. Use Add all / Remove all to include or exclude categories. Drag the ⋮⋮ handle to reorder. Use the ⋮ menu to Rename or Remove individual items.
  • Selection Color — color used to highlight a selected bar; only visible when Selection Response is set to Highlight
7
Under Options:
  • Selection Response — choose Filter to filter all connected widgets when a bar is clicked, or Highlight to highlight the selected bar without filtering
  • Filter viewport — makes only the data within the current map view visible
  • Number format — set the number format from the dropdown list
recent datasets

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 color
  • Hover Color — color shown when hovering over a bar
  • Number 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 chart
  • Selection Color — color for the selected portion; only visible when Selection Response is set to Highlight
5
Under Options:
  • Selection Response — choose Filter to filter all connected widgets when a bar is clicked, or Highlight to highlight the selected portion without filtering
  • Filter viewport — makes only the data within the current map view visible
  • Number format — set the number format from the dropdown list
recent datasets

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 — choose Donut, Pie, or Half donut
  • Label size — choose S, M, or L
  • Layout — choose Center active (shows the active slice's percentage in the center), All labels outside, or Legend
  • Palette and Order (n/n) — set the color palette and manage which categories are shown. Use Add all / Remove all to include or exclude items. Drag to reorder. Use the ⋮ menu to Rename or Remove individual items.
7
Under Options:
  • Filter viewport — shows only data within the current map view
info

Results will be visualized in percentage.

recent datasets
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.