Platform
Resources
Pricing
Sign in
Get started
recifs
Fil’s live coding experiments
Workspace
Fork
Public
Support
By
Fil
Edited
Nov 15, 2022
Fork of
Input + Chart
2 stars
1
Insert cell
Insert cell
viewof
bins
=
{
const
input
=
Inputs
.
range
(
[
3
,
20
]
,
{
step
:
1
,
label
:
"Bins"
}
)
;
input
.
classList
.
add
(
"hello"
)
;
return
input
;
}
Insert cell
<
style
>
.
hello
{
border
:
solid
red
3
px
;
padding
:
4
px
;
border-radius
:
7
px
}
</
style
>
Insert cell
Plot
.
plot
(
{
marks
:
[
Plot
.
ruleY
(
[
0
]
)
,
Plot
.
rectY
(
penguins
,
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
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML