Published
Edited
May 15, 2020
3 forks
3 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
curve = g => {
g.append("path")
.datum(signal)
.attr("class", "line")
.attr("d", line);
}
Insert cell
line = d3.lineRadial()
.radius(d => scale(d[1]))
.angle(d => (-d[0] + Math.PI / 2))
Insert cell
signal = d3.range(0, 2 * Math.PI, .01)
.map(t => [t, Math.sin(2 * t) * Math.cos(2 * t)])
Insert cell
Insert cell
Insert cell
d3 = require('d3')
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