::DONUTCHART
Dashboards: browser · CLI · servers
Community extension: anofox_render


Donut (pie with a hole).
Also spelled: ::DONUT, ::DONUTCHART_PERCENT
The data it needs
Section titled “The data it needs”As ::PIE, with a hole.
SELECT channel ::CATEGORY, revenue ::DONUTCHART FROM (VALUES ('Web',120),('Store',80),('Partner',40)) t(channel, revenue);In an example
Section titled “In an example”From Which chart fits which question? — open it in the builder ↗:
SELECT 6::COL; SELECT channel::CATEGORY, sum(revenue)::DONUTCHART, 'Donut'::TITLE FROM sales GROUP BY ALLAlso in: Can we switch on the new CRM? · How is ACME selling across regions and channels? · How is our German branch doing this year?