# 3d heat map #9 fails

**URL:** <https://forum.freecodecamp.org/t/3d-heat-map-9-fails/401733>\
**Category:** General\
**Created:** [June 10, 2020, 7:33pm UTC](https://forum.freecodecamp.org/t/3d-heat-map-9-fails/401733 "2020-06-10T19:33:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kris.muru](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kris.muru/32/135673_2.png) [@kris.muru](https://forum.freecodecamp.org/u/kris.muru)\
**Post date:** [June 10, 2020, 7:33pm UTC](https://forum.freecodecamp.org/t/3d-heat-map-9-fails/401733/1 "2020-06-10T19:33:39Z")

</div>

**#9 heat map should have cells that align with the corresponding month on the y-axis.**

Visually everything is like it should, but in some reason it doesn’t pass this one test.

I assume that the problem can hide behind this : `.attr('data-month', d => d.month -1)` As it seems who ever wrote the tests made month array 0-11 and to pass test #8 I need to add this -1.  
I have tried to change the code many times, but nth seems to help.

my code [https://codepen.io/Kris\_Muru/pen/QWyjgjz](https://codepen.io/Kris_Muru/pen/QWyjgjz)

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:50pm UTC](https://forum.freecodecamp.org/t/3d-heat-map-9-fails/401733/2 "2021-06-01T18:50:11Z")

</div>

Closed on June 1, 2021, 6:50pm UTC


