Skip to main content
Pie charts can be useful to visualize data that adds up to a meaningful “whole”. For example, the split of total revenue across each of our product lines. To use a pie chart, you need at least one metric and one dimension in your query results. You can add multiple dimensions to create more granular groups in your pie charts. By default, pie charts are shown in a donut shape (i.e. with the center removed) but you can easily toggle the donut toggle to switch between a traditional pie and donut chart.

Referencing the active granularity in labels

Labels support a ${table_field.granularity} placeholder that resolves to the active date granularity — for example day, week, or month — including the granularity a viewer selects with date zoom. Click the insert date granularity icon inside the editable label field to add it without typing. See Referencing the granularity in chart labels for the full syntax and the complete list of supported labels.
These labels are per-category overrides keyed to a specific value. Date zoom re-buckets the underlying dates — a monthly 2024-07 category becomes a weekly 2024-07-15 category — so an override set at one granularity stops matching after a viewer zooms to another, and the label silently falls back to the raw value.
Screenshot 2026 06 25 At 12 16 04