PitchKit
API Reference@pitchkit/reactFunctions

PizzaChart()

function PizzaChart(__namedParameters): Element;

Defined in: packages/react/src/PizzaChart.tsx:83

A football pizza: one slice per metric, its length the value, coloured by group. With several series each metric's slice is shared, side by side or overlaid.

A sibling of <Pitch>, not a layer inside one (D23). It draws the values it is given and computes nothing. Pass renderDetail and each slice becomes a button that swaps the chart for your component.

Parameters

ParameterType
__namedParametersPizzaChartProps

Returns

Element

On this page