scaleDivergingSqrt
A diverging scale with a square-root transform, analogous to a d3.scaleSqrt.
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 scaleDivergingSqrt<Output = number, Unknown = never>(interpolator?: (t: number) => Output): ScaleDiverging<Output, Unknown>;
function scaleDivergingSqrt<Output, Unknown = never>(domain: Iterable<NumberValue>, interpolator: (t: number) => Output): ScaleDiverging<Output, Unknown>;
§
scaleDivergingSqrt<Output = number, Unknown = never>(interpolator?: (t: number) => Output): ScaleDiverging<Output, Unknown>
[src]A diverging scale with a square-root transform, analogous to a d3.scaleSqrt.
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]§
scaleDivergingSqrt<Output, Unknown = never>(domain: Iterable<NumberValue>, interpolator: (t: number) => Output): ScaleDiverging<Output, Unknown>
[src]A diverging scale with a square-root transform, analogous to a d3.scaleSqrt.
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]