Published
Edited
Jul 13, 2021
Insert cell
Insert cell
//plcoMod = require("http://localhost:8000/plco/plcoMod.js")
plcoMod = require("https://episphere.github.io/plco/plcoMod.js")
Insert cell
{
let div = DOM.element("div");
let x = [...Array(100)].map((a, i) => i);
let trace = {
x: x,
y: x.map((xi) => Math.sin(xi / 10) + Math.random() - 0.5)
};
plcoMod.Plotly.newPlot(div, [trace]);
return div;
}
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