Published
Edited
Nov 15, 2021
1 star
Insert cell
Insert cell
aq.from(batting)
.groupby("playerID")
.rollup({
count: group => op.count(),
careerHR: group => op.array_agg(op.parse_int(group.HR))
})
.view()
Insert cell
Insert cell
Insert cell
Insert cell
batting = FileAttachment("Batting.csv").csv()
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