Get the range value corresponding to a given domain value.
Domain Value
number
Get or set the scale's input domain.
Set the scale's input domain.
Get the scale's input domain.
Array<any>
get or set the scale's output interpolator.
get or set the scale's output range.
Set the scale's output range.
Get the scale's output range.
Array<any>
Set the scale's output range, and enable rounding.
enable or disable clamping of the output range.
Enable or disable
create a new scale from an existing scale..
Get the domain value corresponding to a given range value.
Range Value
number
Array<any>
extend the scale domain to nice round numbers.
Optional number of ticks to exactly fit the domain
get a formatter for displaying tick values
Aproximate representative values to return
(n: number) => string
get representative values from the input domain.
Aproximate representative values to return.
Array<any>