Public
Edited
Feb 25, 2024
2 stars
Insert cell
Insert cell
Insert cell
db.sql`select * from sample limit 10`
Insert cell
weekly = db.sql`select tsweek, cast(sum(total) as double) as ct from sample group by tsweek`
Insert cell
Plot.plot({
width: width,
marks: [Plot.barY(weekly, { x: "tsweek", y: "ct" })]
})
Insert cell
db = DuckDBClient.of({
sample: getRemoteFile(
"https://hrbrmstr.github.io/large-parquet-test/sample.parquet"
)
})
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