Published
Edited
Nov 3, 2021
Insert cell
Insert cell
aq.from(cars)
.groupby("Origin")
.rollup({
meanHP: group => op.mean(group.Horsepower),
meanMPG: group => op.mean(group.Miles_per_Gallon),
maxCylinders: group => op.max(group.Cylinders),
minCylinders: group => op.min(group.Cylinders),
count: group => 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