So I’m in the process of building a D3 barchart and I’m using a Tooltip div to hover on the bars but the tooltip div is not hovering over the bars. It just stays in one place. I’ve set the position of the tooltip div to absolute and the container to relative but the tooltip div just stays there and not following the mouseover effect. What is the problem to my code? Someone englighten me.
This is the link to my codepen: https://codepen.io/synerjay/full/MWjGbOw