PitchKit
API Reference@pitchkit/reactFunctions

PositionalHeatmap()

function PositionalHeatmap<T>(__namedParameters): Element;

Defined in: packages/react/src/PositionalHeatmap.tsx:21

Client-only <canvas> heatmap binned into Juego de Posición zones — mplsoccer's bin_statistic_positional + heatmap_positional. Same aggregation as <Heatmap>, but the cells come from the pitch markings (penalty areas, six-yard boxes, halfway line) rather than a uniform grid, which is what makes zone-to-zone comparisons meaningful to an analyst reading positional play.

Pass stroke to outline the zones — off by default, since the boundaries compete with the pitch markings they're derived from.

Type Parameters

Type Parameter
T

Parameters

ParameterType
__namedParametersPositionalHeatmapProps<T>

Returns

Element

On this page