Published
Edited
Jul 20, 2021
Importers
Insert cell
# viewofs + abstraction
Insert cell
viewof x = Inputs.range([0, 10], { step: 1 })
Insert cell
someFunctionOfX = {
const result = [];
for (let i = 0; i < x; ++i) {
result.push(Math.random());
}
return result;
}
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