Published
Edited
Nov 3, 2021
Insert cell
Insert cell
aq.from(cars)
.groupby("Origin")
.rollup({
meanHP: record => op.mean(record.Horsepower),
meanMPG: record => op.mean(record.Miles_per_Gallon),
maxCylinders: record => op.max(record.Cylinders),
minCylinders: record => op.min(record.Cylinders),
count: record => op.count()
})
.view()
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more