Public
Edited
Jan 24, 2024
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
data = [10, 100, 1000, 10000, 100000, 1000000, 10000000].map(t => {
if (t<F) return 0;
if (t>T) return (T-F) * C;
return (t-F) * C;
})
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