It'd help if you provided the source of the picture, but it looks like the graph itself was the result of the gem ruby-prof.
That gem may contain the software for the output format, or it might use a third party gem. I can't recall off the top of my head.