I had been having issues with multiple instances of your really neat component in the same app, because the refence by class would always only update one graph my app with multiple graphs side by side wouldn't render one of them.
The fix is to define an ID for the graph element in each component and pass that to d3.select.
I had been having issues with multiple instances of your really neat component in the same app, because the refence by class would always only update one graph my app with multiple graphs side by side wouldn't render one of them.
The fix is to define an ID for the graph element in each component and pass that to d3.select.