Public
Edited
Oct 19, 2023
Insert cell
Insert cell
data = FileAttachment("table-3-data.csv").csv({ typed: true })
Insert cell
data.columns
Insert cell
Plot.plot({
color: { legend: true },
marginLeft: 150,
marginRight: 150,
height: 500,
x: { domain: [0, 100], label: "score", grid: true },
facet: {
data: data,
y: "subject"
},
marks: [
Plot.frame(),
Plot.barX(data, { x: "value", y: "setting", fill: "setting" })
]
})
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