Platform
Resources
Pricing
Sign in
Contact us
Andrew Wooldridge
📜JavaScript developer. 🐲RPG fan. 📚Storyteller and 🕹game developer. 👨Father and Husband.
Workspace
Fork
Published
2 collections
By
Andrew Wooldridge
Edited
May 29, 2022
2 stars
Insert cell
#
Hello, SVG.js
Insert cell
SVGJS
=
import
(
"@svgdotjs/svg.js"
)
Insert cell
Insert cell
{
var
draw
=
SVGJS
.
SVG
(
)
.
addTo
(
foodiv
)
.
size
(
300
,
300
)
var
rect
=
draw
.
rect
(
100
,
100
)
.
attr
(
{
fill
:
'#f06'
}
)
draw
.
rect
(
100
,
100
)
.
animate
(
)
.
fill
(
'#f03'
)
.
move
(
100
,
100
)
}
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
Listed in...
Tips and Utilities
Andrew Wooldridge
Working Libraries
Andrew Wooldridge
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
SVGJS
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
foodiv
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML