Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

vizabi-interpolators

Gapminder84BSD2.0.0

Interpolator functions shared between vizabi and waffle server

interpolation, interpolator, algorithm, formula

readme

vizabi-interpolators

Interpolation algorithms shared between vizabi and waffle-server

API:

All interpolators accept the same inputs: x1, x2, y1, y2 - boundary points, x - point of interpolation
interpolator.<linear|exp|stepBefore|stepAfter|stepMiddle>(x1, x2, y1, y2, x)

and return the interpolated value y.

Supported algorithms:

image