Published
Edited
Nov 19, 2018
Insert cell
Insert cell
attr = {
const width = 50;
const height = 50;
const svg = d3.select(DOM.svg(width, height))
svg.append("circle")
.attr("fill", "#000")
.attr("cx", 10)
.attr("cy", 10)
.attr('r', '5')
return svg.node();
}
Insert cell
Insert cell
Insert cell
Insert cell
svg.selectAll('circle')
.data(data)
.enter()
.append("circle")
.attr("fill", (d) => d)
.attr("cx", 10)
.attr("cy", 10)
.attr('r', '5')
Insert cell
Insert cell
Insert cell
svg.selectAll('circle')
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