D3: Bar Chart problem


I managed to get my Bar chart to pass most of the test’s, but one test is failing no matter what I try.
Test 1 for tooltips returns this message “Tooltip should be hidden when mouse is not on an area”. I tried several different ways of hiding it, but nothing has passed this test so far. When I pass over the chart with the mouse pointer the tooltip displays and, when my mouse pointer leaves the chart, it disappears.

Here is my pen: https://codepen.io/Klemen/pen/dqompE

Any help would be appreciated. Thanks!

I logged this as an issue as it is clearly working but not passing the tests

1 Like

Thanks! I considered logging an issue myself, but wasn’t sure, if I just missed something obvious.