Learning about more about Big O notation today and came across this post by ParanoidAgnostic and wanted to attempt to port the Java to Javascript & D3.
credit to this block for the color approach.
Built with blockbuilder.org
https://d3js.org/d3.v5.min.js