3 ms·
I just stuck with d3, and used the react lifecycle methods to trigger redraws and such. http://bl.ocks.org/cpapazian/6228888157c39be85e9c http://bl.ocks.org/cp
by snappy173 11y ago
I just stuck with d3, and used the react lifecycle methods to trigger redraws and such.
http://bl.ocks.org/cpapazian/6228888157c39be85e9c http://bl.ocks.org/cpapazian/6228888157c39be85e9c
The D3Component wrapper lets you put a d3-style reusable component inside of a react dom tree, using react props to pass parameters and event handlers to the d3 chart.