PitchKit
API Reference@pitchkit/reactFunctions

ConvexHull()

function ConvexHull<T>(__namedParameters): Element;

Defined in: packages/react/src/ConvexHull.tsx:20

One filled <polygon> for the convex hull of every datum's (x, y) — e.g. a player's touch map. Unlike per-datum marks, fill/stroke/etc. take plain values rather than Accessor<T, V>, since there's only ever one shape produced from the whole data array.

Type Parameters

Type Parameter
T

Parameters

ParameterType
__namedParametersConvexHullProps<T>

Returns

Element

On this page