Public
Edited
May 16
Insert cell
Insert cell
import {vl} from "@vega/vega-lite-api-v5"
Insert cell
import {printTable} from "@uwdata/data-utilities"
Insert cell
Armenia = FileAttachment("Armenia.csv").csv()
Insert cell
printTable(Armenia.slice(0,5))
Insert cell
vl.markLine()
.data(Armenia)
.encode(
vl.x().fieldT('Year'),
vl.y().fieldQ('Value'),
vl.color().fieldN('Vaccine'),
vl.column().fieldN('Vaccine')
)
.width(130)
.height(150)
.render()
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