Published
Edited
May 29, 2022
2 stars
Also listed in…
Tips and Utilities
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.
Learn more