Public
Edited
Mar 17, 2023
Insert cell
Insert cell
Inputs.table(images_per_subject)
Insert cell
Inputs.table(all_images)
Insert cell
Plot.plot({
marks: [
Plot.cell(images_per_subject, {
x: "item_a",
y: "subject-id",
fill: "count",
sort: { y: "fill", x: "fill", reverse: true, limit: 20 } // sort the x and y axis by the value in the fill channel (count)
})
],
x: { tickRotate: 90 },
marginLeft: 250,
marginRight: 100,
marginBottom: 200,
width
})
Insert cell
Insert cell
Insert cell
images_per_subject = FileAttachment("imaging_data_pivot.csv").csv({
typed: true
})
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