This is an adaptation of a tooltip made by Chris Henrick. I tried to simplify and strip away as much as I could for the most straightforward implementation. This is the bare-bones version. Tooltip (D3 Convention) https://observablehq.com/@clhenrick/tooltip-d3-convention