Variable: pie
ts
const pie: ExpressFunction<PieOptions>;A pie chart (px.pie): one pie trace (per facet) with labels from names and values; color colors the sectors, from the colorway or colorDiscreteMap (or a colorscale when numeric); hole makes a donut.
Example
ts
const figure = pie(rows, { names: 'day', values: 'tip', hole: 0.4 });