;var getDpt=function(e){var dpt=0;if(e.children){e.children.forEach(function(d){var tmpDpt=getDpt(d); if(tmpDpt>dpt){dpt=tmpDpt}})}; return 1+dpt}, ht=getDpt(data), flameGraph=d3.flameGraph().height(60 + ht*20).width(960).cellHeight(18).transitionDuration(750).transitionEase("cubic-in-out").sort(!0).title(""),tip=d3.tip().direction("s").offset([8,0]).attr("class","d3-flame-graph-tip").html(function(t){return"name: "+t.name+", value: "+t.value+", count: "+t.count});flameGraph.tooltip(tip),d3.select("#chart").datum(data).call(flameGraph)</script></body></html>