Skip to content
  • Mike Bostock's avatar
    Consistent SI-prefix for ticks. Fixes #1746. · 91531cf7
    Mike Bostock authored
    When a SI-prefix format (type "s") is passed to scale.tickFormat, compute a
    suitable SI-prefix based on the maximum value in the range, and then use that
    prefix for all ticks rather than computing the SI-prefix on a per-tick basis.
    91531cf7