Published
Edited
Nov 11, 2020
Fork of Template
Insert cell
Insert cell
Insert cell
Insert cell
viewof slopeSlider = slider({min:-5, max:5, step: 0.1, title: "Gradient Slider"})
Insert cell
{
let dataPoints = []
for(let i = -10;i < 10; i = i + 0.1){
dataPoints.push([i,math.randomInt(-10,10)])
}
return dataPoints
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
stdlib = require( "https://unpkg.com/@stdlib/stdlib@0.0.32/dist/stdlib-flat.min.js" )
Insert cell
normal = stdlib.base.random.normal
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