PitchKit
API Reference@pitchkit/reactInterfaces

KDEProps

Defined in: packages/react/src/KDE.tsx:5

Extends

Type Parameters

Type Parameter
T

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
bandwidth?readonlynumberKernel bandwidth in provider units; omitted = Silverman's rule of thumb per axis.Omit.bandwidthpackages/core/src/scene/types.ts:174
className?publicstring--packages/react/src/KDE.tsx:6
colorMax?readonlystring-Omit.colorMaxpackages/core/src/scene/types.ts:176
colorMin?readonlystring-Omit.colorMinpackages/core/src/scene/types.ts:175
datareadonlyreadonly T[]-Omit.datapackages/core/src/scene/types.ts:166
maxOpacity?readonlynumberOpacity at the densest cell; density fades linearly to fully transparent at zero.Omit.maxOpacitypackages/core/src/scene/types.ts:178
resolution?readonlynumberGrid cells per axis the estimate is sampled on; higher = smoother, slower.Omit.resolutionpackages/core/src/scene/types.ts:172
style?publicCSSProperties--packages/react/src/KDE.tsx:7
weight?readonlyAccessor<T, number>Omitted = every point counts equally; provided = each point's contribution is scaled by this.Omit.weightpackages/core/src/scene/types.ts:170
xreadonlyAccessor<T, number>-Omit.xpackages/core/src/scene/types.ts:167
yreadonlyAccessor<T, number>-Omit.ypackages/core/src/scene/types.ts:168

On this page