Pie

Pie charts show the relative contribution of values in relationship to the whole

Basic Pie Chart

-- @chart: pie
-- @title: Pie - Basic Pie Chart
-- @subtitle: Pie chart of sales won by channel
SELECT
	channel,
	count(*) as TotalSales
FROM sales
WHERE status = 'Won'
GROUP BY channel
ORDER BY TotalSales DESC;
CHANNELTOTALSALES

search

66.0

coldcall

37.0

event

112.0

referral

243.0

pr_ad

21.0

Last updated

Support

DiscordX

ChartSQL