react-vis v0.6 Release Notes

  • TL;DR

    ๐Ÿ†• New legends (sic!), new animations, faster rendering of components, no d3 in actual rendering process, new examples and more.

    ๐Ÿ’ฅ Breaking changes

    • ๐Ÿ“š animation property works differently: duration is removed in favor of stiffness, damping and precision. Please refer to the documentation for the latest changes.
    • undefined and null values of important scale-related attributes for domains and ranges are now treated as real values (and not ignored anymore).

    Non-breaking changes

    • ๐Ÿ”‹ Feature: added the first version of legends (discrete and continuous color legends, continuous size legend). Please refer to the [docs for legends](docs/legends.md) for more details.
    • ๐Ÿ‘Œ Improvement: got rid of assigning properties with d3 after rendering, currently all attributes and event listeners are attached using React (and it is faster).
    • ๐Ÿ‘Œ Improvement: eliminated the use of d3-selection and d3-transition modules and made the source code smaller.
    • ๐Ÿ‘Œ Improvement: added some structure into the examples and simplified their source code (check them out).
    • ๐Ÿ›  Bugfix: fixed crashing on animation (#114).
    • ๐Ÿ‘Œ Improvement: onNearestX event now returns the index of the selected data point as an attribute (more details [here](docs/xy-plot.md#onnearestx-optional))
    • ๐Ÿ›  Bugfix: added the donut chart to the list of examples (#83).
    • ๐Ÿ›  Bugfix: fixed failing bar charts when the number of segments was changed (#55).