Platform
Resources
Pricing
Sign in
Get started
Carlos Scheidegger
Workspace
Fork
Published
By
Carlos Scheidegger
Edited
Jul 20, 2021
Importers
Insert cell
#
viewofs + abstraction
Insert cell
viewof
x
=
Inputs
.
range
(
[
0
,
10
]
,
{
step
:
1
}
)
Insert cell
someFunctionOfX
=
{
const
result
=
[
]
;
for
(
let
i
=
0
;
i
<
x
;
++
i
)
{
result
.
push
(
Math
.
random
(
)
)
;
}
return
result
;
}
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
x
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
someFunctionOfX
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML