Documentation / @ripl/core / scaleLogarithmic
Function: scaleLogarithmic() ​
scaleLogarithmic(
domain,range,options?):Scale<number>
Defined in: packages/core/src/scales/logarithmic.ts:94
Creates a logarithmic scale that maps a numeric domain to a range using a log transformation.
Parameters ​
| Parameter | Type |
|---|---|
domain | number[] |
range | number[] |
options? | LogarithmicScaleOptions |
Returns ​
Scale<number>