FlameGraph [1] renders profiling results into svg. Profile is essentially hierarchical; a user can zoom into subtree by clicking an element. Probably not an inspiring use of script in svg; but boy, how handy this feature is!
https://gist.githack.com/mejedi/90eac4f11f794f43808f90e38b1a...