react-d3-components icon indicating copy to clipboard operation
react-d3-components copied to clipboard

Comparison with esbullington/react-d3

Open thiloplanz opened this issue 10 years ago • 3 comments

Is there a comparison with the "react-d3" project by @esbullington, especially about how the integration between React and D3 is done?

thiloplanz avatar Feb 12 '15 06:02 thiloplanz

I didn't have a proper look yet but at first glance I would say the following: (the project you mentioned is on the second line)

  • support for custom accessors
    • only support for a fixed data format (seemingly)
  • support for custom scales / color scales
    • seems to lack support for custom scales / color scales
  • support for stacked variants of the charts
    • seems to lack
  • all components are drawn by React
    • the axes are drawn by D3
  • I try to use React Mixins to share code between components
    • seems there is a util.js, anything else?
  • today I might push tooltip support :)

In general I try to expose every D3 parameter but make them optional.

codesuki avatar Feb 12 '15 07:02 codesuki

Another difference is that I can't get react-d3 to work but this one works perfectly.

felixhao28 avatar Mar 20 '15 11:03 felixhao28

Glad to hear that!

codesuki avatar Mar 20 '15 13:03 codesuki