Public
Edited
Jul 6, 2018
Insert cell
Insert cell
Insert cell
Insert cell
dl.groupby(['symbol',{name:'year', get: d => dl.$year()(d.date)}])
// or dl.groupby('symbol',{name:'year', get: d => dl.$year()(d.date)})
// simple .summarize(['price': ['min', 'q1', 'median', 'q3', 'max']})
.summarize([{name: 'price', ops: ['min', 'q1', 'mean', 'median', 'q3', 'max'], as: ['min', 'q1', 'mean', 'median', 'q3', 'max']}])
.execute(data)
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