Platform
Resources
Pricing
Sign in
Get started
Liu Cong
Designer, Tongji University
Workspace
Fork
Public
By
Liu Cong
Edited
Mar 31, 2023
Insert cell
Insert cell
arr
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
]
Insert cell
arr
.
forEach
(
e
=>
{
if
(
e
>
5
)
{
return
e
}
else
{
return
NaN
}
}
)
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
arr
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML