vega-lite-api

vl.aggregate(…aggregate)

Group and summarize data as counts, sums, averages, etc.

aggregate Method Overview

aggregate API Reference

# aggregate.aggregate(…value)

Array of objects that define fields to aggregate.

# aggregate.groupby(…value)

The data fields to group by. If not specified, a single group containing all data objects will be used.