Published
Edited
Jan 28, 2021
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
aq
.from(barley)
.groupby('variety')
.rollup({ median: d => op.median(d.yield) })
.orderby('median')
.objects()
.map(d => d.variety)
Insert cell
Insert cell
aq
.from(barley)
.groupby('variety')
.rollup({ median: d => op.median(d.yield) })
.orderby(aq.desc('median'))
.objects()
.map(d => d.variety)
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