Platform
Resources
Pricing
Sign in
Get started
Kitten🫦
Workspace
Fork
Public
By
Greta Barboglio
Edited
Apr 30
Insert cell
Insert cell
Insert cell
Insert cell
<
svg
id
=
"kitten"
width
=
"600"
height
=
"600"
style
=
"border: dashed 1px purple"
>
<
circle
cx
=
"300"
cy
=
"500"
r
=
"20"
/>
</
svg
>
Insert cell
viewof
ncerchi
=
Inputs
.
range
(
[
1
,
10
]
,
{
step
:
1
}
)
Insert cell
{
d3
.
select
(
"#kitten"
)
.
selectAll
(
"circle"
)
.
data
(
[
...
Array
(
ncerchi
)
.
keys
(
)
]
)
.
join
(
"circle"
)
.
attr
(
"cx"
,
300
)
.
attr
(
"cy"
,
300
)
.
attr
(
"r"
,
x
=>
300
-
30
*
x
)
.
style
(
"fill"
,
x
=>
x
%
2
?
"navy"
:
"azure"
)
}
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
ncerchi
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML