Quantize Scales

Map a continuous, quantitative domain to a discrete range. Map a continuous, quantized domain to a discrete range.

  • d3.scaleQuantize – create a uniform quantizing linear scale. Create uniform quantization linear ruler.
  • quantize – compute the range value corresponding to a given domain value. Create uniform quantized linear proportions.
  • quantize.invertExtent – compute the domain values corresponding to a given range value. Computes the field value corresponding to the value of the given range.
  • quantize.domain – set the input domain. Set the input field.
  • quantize.range – set the output range. Set the output range.
  • quantize.ticks – compute representative values from the domain. Compute representative values for the field.
  • quantize.tickFormat – format ticks for human consumption. Set scale format for human use.
  • quantize.nice – extend the domain to nice round numbers. Expand the field to nice integers.
  • quantize.thresholds – return the array of computed thresholds within the domain. Returns an array of thresholds computed in the domain.
  • quantize.copy – create a copy of this scale. Create a copy of this scale.
  • d3.scaleQuantile – create a quantile quantizing linear scale. Create quantization linear scale
  • quantile – compute the range value corresponding to a given domain value. Computes the range value corresponding to the given field value.
  • quantile.invertExtent – compute the domain values corresponding to a given range value. Computes the field value corresponding to the value of the given range.
  • quantile.domain – set the input domain. Set the input field.
  • quantile.range – set the output range. Set the output range.
  • quantile.quantiles – get the quantile thresholds. Gets the quantile threshold.
  • quantile.copy – create a copy of this scale. Create a copy of this scale.
  • d3.scaleThreshold – create an arbitrary quantizing linear scale. Create an arbitrary quantized linear scale.
  • threshold – compute the range value corresponding to a given domain value. Computes the range value corresponding to the given field value
  • threshold.invertExtent – compute the domain values corresponding to a given range value. Computes the field value corresponding to the value of the given range.
  • threshold.domain – set the input domain. Set the input field.
  • threshold.range – set the output range. Set the output range.
  • threshold.copy – create a copy of this scale. Create a copy of this scale.