Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

scaleSequentialSqrt

A sequential scale with a square-root transform, analogous to a d3.scaleSqrt.

The first generic corresponds to the data type of the output of the interpolator underlying the scale. The second third generic corresponds to the data type of the unknown value.

function scaleSequentialSqrt<Output = number, Unknown = never>(interpolator?: (t: number) => Output): ScaleSequential<Output, Unknown>;
function scaleSequentialSqrt<Output, Unknown = never>(domain: Iterable<NumberValue>, interpolator: (t: number) => Output): ScaleSequential<Output, Unknown>;
§
scaleSequentialSqrt<Output = number, Unknown = never>(interpolator?: (t: number) => Output): ScaleSequential<Output, Unknown>
[src]

A sequential scale with a square-root transform, analogous to a d3.scaleSqrt.

The first generic corresponds to the data type of the output of the interpolator underlying the scale. The second third generic corresponds to the data type of the unknown value.

§Type Parameters

§
Output = number
[src]
§
Unknown = never
[src]

§Parameters

§
interpolator?: (t: number) => Output optional
[src]

The interpolator function to be used with the scale.

§Return Type

§
ScaleSequential<Output, Unknown>
[src]
§
scaleSequentialSqrt<Output, Unknown = never>(domain: Iterable<NumberValue>, interpolator: (t: number) => Output): ScaleSequential<Output, Unknown>
[src]

A sequential scale with a square-root transform, analogous to a d3.scaleSqrt.

The first generic corresponds to the data type of the output of the interpolator underlying the scale. The second generic corresponds to the data type of the unknown value.

§Type Parameters

§
Output
[src]
§
Unknown = never
[src]

§Parameters

§
domain: Iterable<NumberValue>
[src]

A two-element array of numeric domain values.

§
interpolator: (t: number) => Output
[src]

The interpolator function to be used with the scale.

§Return Type

§
ScaleSequential<Output, Unknown>
[src]