Platform
Resources
Pricing
Sign in
Get started
ma-x
Workspace
Fork
Published
By
ma-x
Edited
Jun 20, 2022
Fork of
Input + Chart
6 stars
1
Insert cell
Insert cell
Insert cell
Insert cell
plt
=
Plot
.
plot
(
{
height
:
300
,
width
:
width
/
2
,
marks
:
[
Plot
.
ruleY
(
[
0
]
)
,
Plot
.
rectY
(
data
,
Plot
.
binX
(
{
y
:
"sum"
}
,
{
x
:
"flipper_length_mm"
,
thresholds
:
bins
}
)
)
]
}
)
Insert cell
plt2
=
Plot
.
plot
(
{
height
:
300
,
width
:
width
/
2
,
marks
:
[
Plot
.
ruleY
(
[
0
]
)
,
Plot
.
rectY
(
data
,
Plot
.
binX
(
{
y
:
"sum"
}
,
{
x
:
"body_mass_g"
,
thresholds
:
bins
}
)
)
]
}
)
Insert cell
data
=
FileAttachment
(
"penguins.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
Compare fork
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
bins
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
plt
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
plt2
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
data
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML