Documentation / @ripl/core / scalePower
Function: scalePower() ​
scalePower(
domain,range,options?):Scale<number>
Defined in: packages/core/src/scales/power.ts:92
Creates a power scale that maps a numeric domain to a range using an exponential transformation.
Parameters ​
| Parameter | Type |
|---|---|
domain | number[] |
range | number[] |
options? | PowerScaleOptions |
Returns ​
Scale<number>