10th test on Data with a Bar Chart won't pass

https://codepen.io/blubbers122/pen/LYVQEYW is my code. I don’t understand why test 10 won’t pass for me when it looks pretty much exactly the same as a chart that passes all the tests.

1 Like

Where you define xScale, use d3.scaleTime() instead of d3.scaleLinear()

1 Like

omg thanks so much! I shoulda figured something like scaleTime existed!

1 Like