Hi everyone,
I have been working on the FreeCodeCamp Projects, having an issue in the Data Visualization Projects (D3).
Unfortunately, I can not clear the ‘Tooltip’ test, since it does not correspond to the ‘data-date’ of the active area. I’m wondering if it’s an issue with the Fetch function, the Json dataset provided by FreeCodeCamp or an error in my code.
Tooltip’s “data-date” property should be equal to the active area’s “data-date” property: expected ‘undefined’ to equal ‘1956-07-01’
AssertionError: Tooltip’s “data-date” property should be equal to the active area’s “data-date” property: expected ‘undefined’ to equal ‘1956-07-01’
Your code so far
Here is the code on Code pen – https://codepen.io/UK020/full/jOmXBXZ
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36
Challenge: Visualize Data with a Bar Chart
Link to the challenge: