Platform
Resources
Pricing
Sign in
Get started
Stephen Shank
Workspace
Fork
Public
By
Stephen Shank
Edited
Jan 3, 2023
Insert cell
Insert cell
viewof
n
=
Inputs
.
range
(
[
1
,
10
]
,
{
label
:
'Number of elements'
,
step
:
1
,
default
:
2
}
)
Insert cell
viewof
frequencies
=
Inputs
.
form
(
Array
(
n
)
.
fill
(
)
.
map
(
(
d
,
i
)
=>
{
return
Inputs
.
range
(
[
0
,
255
]
,
{
step
:
1
,
label
:
"Frequency "
+
i
}
)
}
)
)
Insert cell
frequencies
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
n
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
frequencies
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML