Public
Edited
Jan 16, 2023
Insert cell
Insert cell
function RegressionPlot(data) {
const linearRegression = d3
.regressionLinear()
.x((d) => d.xCoord)
.y((d) => d.yCoord)
.domain([0,10]);


}

Insert cell
{
const line = d3.line()
.x(d => d.date)
.y(d => d.value);
return line;
}

Insert cell
{
data = []
}
Insert cell
d3
Insert cell
function abc() {
let def = 1;
print(def);
}
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