Published
Edited
Jan 22, 2020
13 forks
1 star
Insert cell
Insert cell
{
var svg = d3.select(DOM.svg(600,300)).attr("style","background:white;border:1px solid black")
return svg.node()
}
Insert cell
class Blah{
constructor(props){
Object.keys(props).forEach((key)=>{this[key] = props[key]})
this.outer = this.element.append("g").attr("transform",`translate(${this.x},${this.y})`)
this.inner = this.outer.append("g")
}
}
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