Published
Edited
Oct 10, 2020
Importers
Insert cell
Insert cell
{
const x = arange(10, {step:0.2, dtype:Float64Array});
const y = x.map(x => Math.sin(x));
return plot(x, y, '.-');
}
Insert cell
{
const data = Float64Array.from({length: 1000}, a => Math.random());
return hist(data, linspace(0, 1, 11));
}
Insert cell
{
const data = Float64Array.from({length: 1000}, a => Math.random());
return hist(data, [0, 0.2, 0.8, 1]);
}
Insert cell
Insert cell
Insert cell
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