Public
Edited
May 18
Insert cell
Insert cell
import {vl} from '@vega/vega-lite-api-v5'
Insert cell
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().field('Vaccine'),
vl.column().fieldN('Vaccine')
)
.width(130)
.height(150)
.render()
Insert cell
vl.markLine()
.data(Armenia)
.encode(
vl.x().fieldT('Year'),
vl.y().fieldQ('Value'),
vl.color().field('Vaccine')
)
.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