A boolean indicating if output values should be clamped to the range (default false). If clamping is disabled and the scale is passed a value outside the domain, the scale may return a value outside the range through extrapolation. If clamping is enabled, the output value of the scale is always within the scale’s range.
Sets the domain of the scale
The domain argument
Sets the name of the scale
The name of the scale
Extends the domain so that it starts and ends on nice round values.
Adjusts the range of the scale to account for a pixel-padding on each end.
The number of pixels to pad each end of the scale's range with.
Extends the domain so that it starts and ends on nice round values.
Boolean flag indicating if the scale domain should include zero. The default value is true for linear, sqrt and pow, and false otherwise.
Gets the default domain to use