Platform
Resources
Pricing
Sign in
Get started
Fil
Vocateur.
Workspace
Fork
Unlisted
By
Fil
Edited
Jun 23, 2023
Insert cell
Insert cell
mutable
times
=
null
Insert cell
Plot
.
lineY
(
times
)
.
plot
(
)
Insert cell
Plot
.
lineY
(
times
.
map
(
(
d
,
i
)
=>
d
-
times
[
i
-
1
]
)
)
.
plot
(
)
Insert cell
d3
.
create
(
"svg"
)
.
call
(
(
g
)
=>
g
.
append
(
"circle"
)
.
attr
(
"cx"
,
0
)
.
attr
(
"cy"
,
80
)
.
attr
(
"r"
,
10
)
.
transition
(
)
.
duration
(
1000
)
.
ease
(
d3
.
easeLinear
)
.
attrTween
(
"cx"
,
(
)
=>
{
mutable
times
=
[
]
;
return
(
t
)
=>
{
mutable
times
.
push
(
t
)
;
mutable
times
=
mutable
times
;
return
280
*
t
;
}
;
}
)
)
.
node
(
)
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
times
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML