Visualizing bubble sort in 5 minutes using HTML5 canvas API
For most developers, bubble sort is one of the first algorithms we learn. Therefore, visualizing it can be highly satisfying and feels a bit like meeting an old friend after a long time.

This article will take you through visualizing the bubble sort algorithm using HTML5 canvas API.

If you would like to jump straight to the results and have a look at the code, here is a codepen.

In the meantime, below is a little sneak peek of what we are going to accomplish here.
[]
['JavaScript', 'Programming', 'Animation', 'Html5 Canvas', 'Html5']