Published unlisted
Edited
Feb 12, 2022
Insert cell
Insert cell
Insert cell
Insert cell
{
const mpg = vl.markLine().data(data_1).encode(
vl.x().fieldN('student_name'),
vl.y().fieldQ('d'),
);
const hp = mpg.encode(vl.y().fieldQ('e'));
return vl.layer(mpg, mpg.markCircle(), hp, hp.markCircle()).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