Published
Edited
Jul 5, 2020
Insert cell
Insert cell
Insert cell
pageScrollEase = (t) => {
if (t < 0.3) {
return d3.easeQuadOut(t / 0.3) * 0.6 + 0.4
} else if (t < 0.6) {
return 1
} else {
const u = t - 0.6
return 1 - (0.6 * d3.easeQuadOut(u * 2.5))
}
}
Insert cell
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