Skip to content

Function: sum() ​

ts
function sum<F>(field): AggregateSpec<F>;

Defined in: packages/core/src/specs.ts:52

Sum a numeric field over the rows in each bin. Missing values count as zero.

Type Parameters ​

Type Parameter
F extends string

Parameters ​

ParameterType
fieldF

Returns ​

AggregateSpec<F>

Released under the MIT License.