This is a figure.

Heap Animation

Usage: Enter an integer key and click the Insert button to insert the key into the heap. Click the Remove the root button to remove the root from the heap.