Platform
Resources
Pricing
Sign in
Contact us
Petr Slajchrt
Workspace
Fork
Published
By
Petr Slajchrt
Edited
Apr 19, 2018
Insert cell
Insert cell
test
=
{
const
div
=
d3
.
select
(
DOM
.
element
(
'div'
)
)
;
const
data
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
]
;
div
.
selectAll
(
'p'
)
.
data
(
data
)
.
enter
(
)
.
append
(
'p'
)
.
filter
(
d
=>
d
%
2
===
0
)
.
html
(
d
=>
d
)
;
return
div
.
node
(
)
;
}
Insert cell
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
test
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
d3
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML