JavaScript D3 Bar Chart Problem

My issue:

My code is failing the 5th check. It receives an error that says, " My Chart should have a element for each data point with a corresponding class=“bar” displaying the data" and yet in my local browser, it works well and the class is added to the elements i created.
Please look at my code and please help me find out where the error is.

Challenge: Visualize Data with a Bar Chart

My code so far
Link to the challenge:

I have found the solution thank you.

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