3 ms·
Really cool. I'm interested to know how the graph is build. Did you use any third party components.
by nathanken 9y ago
Really cool. I'm interested to know how the graph is build. Did you use any third party components.
- jwngr 9y agoThank you! The graph is built using vanilla d3, no library on top of it. The code for it lives all in one file, ResultsGraph.js [1]. I pieced together the code from a handful of other attempts online. I am still not 100% pleased with the performance of it with a larger number of nodes (250+), but that seems to be a common complaint with the d3 force simulation layouts. [1] https://github.com/jwngr/sdow/blob/master/website/src/components/ResultsGraph.js https://github.com/jwngr/sdow/blob/master/website/src/compon...
- nathanken 9y agoThanks for your reply.