These samples get aggregated in to the following: To render this in to the final visualised form we start at the root and this represents the first box on our graph, taking up 100% of the horizontal width. We then walk down the tree rendering each level vertically with width proportional to the number of samples we have at that node. One slightly complicating factor is that of self time vs total t