Platform
Resources
Pricing
Sign in
Get started
landge
Workspace
Fork
Public
By
landge
Edited
Mar 17, 2023
4
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.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
all_images
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
images_per_subject
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML