4 ms·
I've been looking for a chart library to display timeseries graphs and integrate well with react. The best one I found so far is react-d3. Unfortunately, it's s
by Demiurge 11y ago
I've been looking for a chart library to display timeseries graphs and integrate well with react. The best one I found so far is react-d3. Unfortunately, it's still somewhat awkward.
- andreaferretti 11y agoShameless plug: you may want to have a look at my library https://github.com/andreaferretti/paths-js https://github.com/andreaferretti/paths-js which is made for exactly this purpose. My frustration was that D3 wants to have control over the DOM, but most frameworks let you write components in a declarative style using templates or databinding. So I started paths-js , which takes the data as input and provides an abstract description of the graph as output, that you can then use in your framework to provide rendering. One of the demos that you find on the page I linked is actually made with React
- Demiurge 11y agono shame, it could really help, thanks :)
- codesuki 11y agoHey, shameless plug but in case you need react integration maybe have a look at my project. https://github.com/codesuki/react-d3-components https://github.com/codesuki/react-d3-components I am using that for a dashboard and fixing the problems as they come. I'll push a new version soon that incorporates some of the issues mentioned on github and animations. Anyway good luck with your project!