23-3 Diverging Scales 发散尺

761 阅读1分钟

Diverging Scales

Map a continuous, quantitative domain to a continuous, fixed interpolator. 将连续的定量域映射到连续的固定插值器。

  • d3.scaleDiverging - create a diverging scale.创造一个发散的尺度
  • diverging - compute the range value corresponding to an input value.计算一个输入值对应的范围值。
  • diverging.domain - set the input domain.设置输入域
  • diverging.clamp - enable clamping to the domain or range.使夹持到域或范围内。
  • diverging.interpolator - set the scale’s output interpolator.设置规模输出插值器。
  • diverging.range - set the output range.设置输出范围。
  • diverging.rangeRound - set the output range and enable rounding.设置输出范围并启用圆整
  • diverging.copy - create a copy of this scale.创建此量表的副本。
  • diverging.unknown - set the output value for unknown inputs.对未知输入设定输出值。
  • d3.scaleDivergingLog - create a diverging logarithmic scale.创建一个发散的对数尺度。
  • d3.scaleDivergingPow - create a diverging power scale.创建一个发散的电力规模。
  • d3.scaleDivergingSqrt - create a diverging power scale with exponent 0.5.创建指数为0.5的发散功率标度。
  • d3.scaleDivergingSymlog - create a diverging symmetric logarithmic scale.创建一个发散的对称对数尺度