Skip to content

Documentation / @ripl/core / scaleSqrt

Function: scaleSqrt() ​

scaleSqrt(domain, range, options?): Scale<number>

Defined in: packages/core/src/scales/power.ts:116

Shortcut for a power scale with exponent 0.5 (square root).

Parameters ​

ParameterType
domainnumber[]
rangenumber[]
options?LinearScaleOptions

Returns ​

Scale<number>