Aggregate

Aggregate

new Aggregate()

The Aggregate class describes how to aggregate data, as described by a Facet into a single value. For example, you can sum or average over numbers, or count the number of different labels.

Source:

Extends

Members

(static) facetName :string

The name of the facet to aggregate over

Source:
Type:
  • string

(static) label :string

Label for displaying on plots

Source:
Type:
  • string

(static) normalization :string

Normalization: TODO

  • none data in same units as the original data
  • relative data is in percentages of the total; for subgroups in percentage of the parent group
Source:
Type:
  • string

(static) operation :string

Operation:

  • count count the number of elements in the group
  • sum sum the elements in the group
  • avg take the average of the elements in the group
  • stddev take the sample
  • min minum value of the elements in the group
  • max maximum value of the elements in the group
Source:
Type:
  • string

(static) rank :number

When part of a aggregates, this deterimines the ordering

Source:
Type:
  • number