News for hackers. Stuff that matters.
Re:Ask HN: What are the best charting / graphing JavaScript ... by jimbobbango on Wednesday December 23, 2020 @09:56AM (#25518177)
D3 js is well known, but it used to not work with React because of Reacts's virtual dom stuff, D3 works with the dom directly i beleive, i would assume there is an npm package that allows u to work with both,

React Charts library was nice if i remember correctly

Re:Ask HN: What are the best charting / graphing JavaScript ... by jbreckmckye on Wednesday December 23, 2020 @10:48AM (#25518785)
Get React to give you a DOM reference and then run the D3 code with it during a post render callback or effect.
Re:Ask HN: What are the best charting / graphing JavaScript ... by rhodysurf on Wednesday December 23, 2020 @11:04AM (#25518984)
You can just use D3 for the layout work and render with an SVG in react and it works really well.
Re:Ask HN: What are the best charting / graphing JavaScript ... by jimbobbango on Thursday December 24, 2020 @03:08AM (#25525855)
its been a few years since i tried, thanks for the tip