Public
Edited
May 3, 2023
Insert cell
Insert cell
vl
.layer([vl.markLine(), vl.markPoint()])
.data(data)
.encode(vl.x().fieldT("Release Date").timeUnit("year"), vl.y().count())
.render()
Insert cell
data = (await require("vega-datasets@2"))["movies.json"]()
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