D3: Visualize data with a bar chart

Hello yet again.

Recently I got involved with D3, and i’m bouta do the 1st certification project

Problem is I can’t pass the last two stories, and i’m not sure how to.

Project link:

Hi there!

Add a link to the challenge also within your topic.

here it is:

If you click the tests for more info it says:

Tooltip should be hidden when mouse is not on an area: expected false to be true

Keyword here is “hidden” it needs to be actually hidden and not transparent

https://www.w3schools.com/cssref/pr_class_visibility.php

now the issue is showing them.

For whatever reason, this event listener:

.addEventListener('mouseover', speak())

and this:

.attr('onmouseover', speak())

Don’t work

Try using .on("mouseover",)

you can see an example here:
https://chartio.com/resources/tutorials/how-to-show-data-on-mouseover-in-d3js/

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.