Public
Edited
Nov 9, 2023
8 forks
Insert cell
Insert cell
viewof b = Inputs.range([0,20],{step:.01})
Insert cell
viewof a = Inputs.range([-10,10],{step:.01})
Insert cell
((a*2+b-3)**2 + (a*5+b-7)**2 +(a*9+b-1)**2)/3
Insert cell
Insert cell
X = [2,5,9]
Insert cell
Y = [3,7,1]
Insert cell
f = x => a*x + b
Insert cell
x = {
const x = []
for(let i = 0; i <= 10; i = i + .1){
x.push(i)
}
return x
}
Insert cell
y = x.map(x => f(x))
Insert cell
-13/37
Insert cell
205/37
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