Platform
Resources
Pricing
Sign in
Get started
Laura Lee
Workspace
Fork
Public
By
Laura Lee
Edited
Feb 7, 2024
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
count
=
20
Insert cell
randLocation
=
(
)
=>
Math
.
random
(
)
*
400
Insert cell
circles
=
d3
.
select
(
RandCircles
)
.
data
(
d3
.
range
(
count
)
)
.
join
(
"circles"
)
.
attr
(
"cx"
,
randLocation
)
.
attr
(
"cy"
,
randLocation
)
.
attr
(
"r"
,
22
)
.
style
(
"fill"
,
"yellow"
)
.
style
(
"fill"
,
"black"
)
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
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
RandCircles
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
count
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
randLocation
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
circles
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML