Interactive Bar Graph

The code for this was modeled from this link. That code was designed around d3 version 3, but I've updated it tp run version 5.