SVG-based heapsort visualization