Chart originally taken from: https://bl.ocks.org/Caged/6476579 Using d3-tip to add tooltips to a d3 bar chart.