Public
Edited
Dec 1, 2023
Insert cell
# Teste SVG
Insert cell
SVG = require("svgjs")
Insert cell
{
const s = svg`<svg width="400" height="400">`;
let draw = SVG(s);
draw.rect(40, 40);
var polygon = draw.polygon("50,0 60,40 100,50 60,60 50,100 40,60 0,50 40,40");
polygon.fill("#f06").move(20, 20);
return s;
}
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