Platform
Resources
Pricing
Sign in
Get started
jexchan
Workspace
Fork
Public
By
jexchan
Edited
Sep 28, 2023
Insert cell
Insert cell
[
1
,
2
,
3
,
4
]
.
map
(
(
d
,
i
)
=>
d
*
2
)
.
filter
(
(
d
)
=>
d
>
3
)
Insert cell
Insert cell
{
const
html
=
htl
.
html
`<div>
<p>段落一</p>
<p>段落二</p>
<p>段落三</p>
</div>`
;
d3
.
select
(
html
)
.
selectAll
(
"p"
)
.
data
(
[
1
,
2
,
3
]
)
.
filter
(
(
d
,
i
)
=>
d
>
2
)
.
style
(
"color"
,
"red"
)
.
text
(
(
d
)
=>
d
)
;
return
html
;
}
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML