Public
Edited
Mar 21, 2023
Insert cell
Insert cell
Insert cell
{
const container = d3.select(DOM.svg(600,300)).attr("style","border:1px black solid")
container.append("circle")
.attr("r",50)
.attr("fill","steelblue")
.attr("stroke","black")
.attr("cx",300)
.attr("cy",150)

container.append("rect")
.attr("width",70)
.attr("height",70)
.attr("y",150)
.attr("x",x)
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