Published
Edited
Aug 3, 2022
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
currentBandLength = getBandLength(t1)
Insert cell
currentInchesWalked = 1 * t1
Insert cell
function getBandLength(t) {
return 100 + 2 * t;
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
function getRelativeRate(bandLength) {
return 1.0 / bandLength;
}
Insert cell
currentRelativeRate = getRelativeRate(getBandLength(t2))
Insert cell
Insert cell
totalPercentWalked = timeSteps.reduce((p, c) => p + c.relativeRate, 0)
Insert cell
Insert cell
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