Public
Edited
Mar 1, 2023
Insert cell
Insert cell
prozy = Array(200)
.fill(0)
.map((e) => ({ satm: Math.random() * 100 }))
Insert cell
min = Math.min(...prozy.map((e) => e.satm))
Insert cell
max = Math.max(...prozy.map((e) => e.satm))
Insert cell
function normit(e) {
return (e - min) / (max - min);
}
Insert cell
normit(prozy[0].satm) * 500
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