Published
Edited
Sep 3, 2020
1 fork
Insert cell
Insert cell
svg = {
const svg = html`<svg id = "svg"></svg>`
const container = d3.select(svg)
container.append("circle")
.attr("r",50)
.attr("fill",color)
.attr("stroke","black")
.attr("cx",300)
.attr("cy",150)
return svg
}
Insert cell
viewof color = select(["cornflowerblue","tomato","gold"])
Insert cell
Insert cell
Insert cell
Insert cell
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