Published
Edited
Sep 6, 2020
Insert cell
md`# Array of Random Numbers`
Insert cell
data= {

const data= []
for(let i=0; i < 100; i= i + 1){
data.push(Math.random()*10)
}
return data
}
Insert cell
data2= {
const data2= []
for(let i=0; i < 100; i= i + 1){
data2.push({x: Math.random()*10, y: Math.random()*10})
}
return data2
}
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