Hacker News new | ask | show | jobs
by nathanken 3034 days ago
Really cool. I'm interested to know how the graph is build. Did you use any third party components.
1 comments

Thank 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/compon...

Thanks for your reply.