Public
Edited
Jan 16, 2024
Insert cell
Insert cell
data = FileAttachment("penguins.csv").csv({typed: true})
Insert cell
Plot.plot({
inset: 8,
grid: true,
color: {
legend: true,
},
marks: [
Plot.dot(data, {x: "flipper_length_mm", y: "body_mass_g", stroke: "sex"})
]
})
Insert cell
data = [
{ k: 5, sys: "bm25", recall: 0.770 },
{ k: 10, sys: "bm25", recall: 0.808 },
{ k: 15, sys: "bm25", recall: 0.820 },
{ k: 20, sys: "bm25", recall: 0.829 },
{ k: 25, sys: "bm25", recall: 0.834 },
{ k: 30, sys: "bm25", recall: 0.838 },
{ k: 35, sys: "bm25", recall: 0.840 },
{ k: 40, sys: "bm25", recall: 0.841 },
{ k: 45, sys: "bm25", recall: 0.846 },
{ k: 50, sys: "bm25", recall: 0.848 },
{ k: 5, sys: "bm25", recall: 0.770 },
{ k: 10, sys: "bm25", recall: 0.808 },
{ k: 15, sys: "bm25", recall: 0.820 },
{ k: 20, sys: "bm25", recall: 0.829 },
{ k: 25, sys: "bm25", recall: 0.834 },
{ k: 30, sys: "bm25", recall: 0.838 },
{ k: 35, sys: "bm25", recall: 0.840 },
{ k: 40, sys: "bm25", recall: 0.841 },
{ k: 45, sys: "bm25", recall: 0.846 },
{ k: 50, sys: "bm25", recall: 0.848 }
]
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