scaleDivergingPow
A diverging scale with a exponential transform, analogous to a power scale.
The first generic corresponds to the data type of the interpolator return type. The second generic corresponds to the data type of the unknown value.
function scaleDivergingPow<Output = number, Unknown = never>(interpolator?: (t: number) => Output): ScaleDiverging<Output, Unknown>;
function scaleDivergingPow<Output, Unknown = never>(domain: Iterable<NumberValue>, interpolator: (t: number) => Output): ScaleDiverging<Output, Unknown>;
§
scaleDivergingPow<Output = number, Unknown = never>(interpolator?: (t: number) => Output): ScaleDiverging<Output, Unknown>
[src]A diverging scale with a exponential transform, analogous to a power scale.
The first generic corresponds to the data type of the interpolator return type. The second generic corresponds to the data type of the unknown value.
§Return Type
§
ScaleDiverging<Output, Unknown>
[src]§
scaleDivergingPow<Output, Unknown = never>(domain: Iterable<NumberValue>, interpolator: (t: number) => Output): ScaleDiverging<Output, Unknown>
[src]A diverging scale with a exponential transform, analogous to a power scale.
The first generic corresponds to the data type of the interpolator return type. The second generic corresponds to the data type of the unknown value.
§Parameters
§
domain: Iterable<NumberValue>
[src]Array of three numeric domain values.
§Return Type
§
ScaleDiverging<Output, Unknown>
[src]