Skip to content

v0.2.5

Compare
Choose a tag to compare
@mbostock mbostock released this 26 Sep 21:51
· 1123 commits to main since this release
8890232

Please see the 0.2.5 release notes for more!

  • Add plot.scale(name) for exposing a scale used by a plot.
  • Add scale.unknown option for control over unexpected, undefined, or invalid values.
  • Add support for piecewise (or “polylinear”) scales.
  • Improve “reversed” scale detection by comparing the natural order of the domain and range.
  • The scale.range option now be used to produce a slice of a continuous color scheme or interpolator.
  • Fix ordinal color schemes when the natural scheme size is different than the desired scheme size.
  • Fix cyclical color schemes for ordinal scales; don’t repeat the first color as the last.
  • The interval option for rect and bar now supports the default identity accessor for shorthand.
  • The interval option is now ignored if the corresponding input channel (x or y) is missing, instead of erroring.
  • Plot’s default rounding for band and point scales is now disabled if it would introduce more than 30px of empty space.
  • The scale.percent and scale.transform options are now supported on all scales, including diverging scales.
  • The center and wiggle stack offsets now center across facets to facilitate comparison.
  • Plot’s internal string coercion now uses object.toString instead of object.valueOf.
  • Many more tests!