https://github.com/d3/d3-force
I probably ought to spend a little more time tuning the parameters, though.