D3 HeatMapTests

Hi everyone!

need some help with my heatmap project.

I have 13 of 18 test that pass.

The alignment on the x-axis looks fine to me, but it won’t pass the test.

I would appreciate if anyone can give me a hand.

The codepen link: https://codepen.io/ezequiel_/pen/LYYdqoY

thanks in advance!


10. My heat map should have cells that align with the corresponding year on the x-axis.

year values don't line up with x locations : expected false to be true

so close 17/18 test passed.