Platform
Resources
Pricing
Sign in
Get started
Bo Tong
Workspace
Fork
Public
By
Bo Tong
Edited
Feb 12, 2023
Fork of
Input + Chart
1
Insert cell
Insert cell
data
=
FileAttachment
(
"penguins.csv"
)
.
csv
(
{
typed
:
true
}
)
Insert cell
penguins.csv
Type SQL, then Shift-Enter. Ctrl-space for more options.
Insert cell
data
Type SQL, then Shift-Enter. Ctrl-space for more options.
Insert cell
viewof
bins
=
Inputs
.
range
(
[
3
,
20
]
,
{
step
:
1
,
label
:
"Bins"
}
)
Insert cell
Plot
.
plot
(
{
marks
:
[
Plot
.
ruleY
(
[
0
]
)
,
Plot
.
rectY
(
data
,
Plot
.
binX
(
{
y
:
"sum"
}
,
{
x
:
"flipper_length_mm"
,
thresholds
:
bins
}
)
)
]
}
)
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
Compare fork
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
data
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
File attachments
penguins.csv
CSV
Databases
Add comment
Select
Duplicate
Copy link
Embed
Delete
Cells
data
File attachments
penguins.csv
CSV
Databases
bins
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML