Published
Edited
Jan 15, 2020
Fork of D3 Intro
1 fork
1 star
Insert cell
Insert cell
{
var svg = d3.select(DOM.svg(600,300)).attr("style","background:cornsilk;border:1px solid black")
var outer = svg.append("g").attr("transform","translate(300,150)")
var inner = outer.append("g").attr("transform","rotate(30) scale(2)")
inner.append("rect")
.attr("width",50)
.attr("height",50)
return svg.node()

}
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