Inspired by Bostock's Visualizing Algorithms, I expanded on his sorting visualization as a d3 exercise.