An implementation of shellsort with a visualization based off of Mike Bostock's Quicksort animation.
Red lines indicate every hth index as the algorithm performs insertion sort for h independent interleaved sorted subsequences.
https://d3js.org/d3.v3.min.js