Public
Edited
Jan 26, 2023
Insert cell
Insert cell
data = FileAttachment("summary@3.csv").csv({typed: true})
Insert cell
import {aq, op} from "@uwdata/arquero"
Insert cell
df = aq.from(data)
Insert cell
instances = df.groupby('name').rollup({users: op.max('users')}).orderby(aq.desc('users')).objects()
Insert cell
df.groupby('name').rollup({users: op.max('users')}).objects()
Insert cell
Insert cell
Insert cell
Insert cell
selection
Insert cell
dfi = {
if (selection) {
return df.filter(aq.escape(d => d.name == selection.name))
} else {
return []
}
}
Insert cell
import {Plot} from "@mkfreeman/plot-tooltip"
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