vega-lite-api

vl.joinaggregate(…joinaggregate)

Extend input data with aggregate values as new fields.

joinaggregate Method Overview

joinaggregate API Reference

# joinaggregate.groupby(…value)

The data fields for partitioning the data objects into separate groups. If unspecified, all data points will be in a single group.

# joinaggregate.joinaggregate(…value)

The definition of the fields in the join aggregate, and what calculations to use.