Public
Edited
Oct 31, 2023
7 forks
Insert cell
Insert cell
viewof b = Inputs.range([0,10],{step:.01})
Insert cell
((b-3)**2 + (b-7)**2 +(b-1)**2)/3
Insert cell
Insert cell
X = [2,5,9]
Insert cell
Y = [3,7,1]
Insert cell
f = 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

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