Public
Edited
Apr 4, 2023
Insert cell
Insert cell
square = {
const container = d3.select(DOM.svg(300,300)).attr("style","background:black;")
container.append("rect")
.attr("fill","white")
.attr("width",100)
.attr("height",100)
.attr("x",100)
.attr("y",100)
return container.node()
}
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