Published
Edited
Nov 18, 2018
1 star
Insert cell
Insert cell
text = {
const width = 200;
const height = 50;
const svg = d3.select(DOM.svg(width, height))
svg.append('text').text('This is just text').attr('dy', 20)
return svg.node();
}
Insert cell
svg = d3.select(DOM.svg(200,50))
Insert cell
Insert cell
svg.node()
Insert cell
Insert cell
svg.append('text').text('test').attr('dy', 20)
Insert cell
Insert cell
svg.append('text').text('more').attr('dy', 30)
Insert cell
Insert cell
svg.selectAll('text')
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