Hi all!
(Please do tell me if ‘Project Feedback’ is the wrong forum for this and the ‘Javascript’ forum would be better suited)
With the -1
in the following line of code (line 109), I am able to complete user story 8, but not user story 9. If I eliminate the -1
the opposite happens, I am able to pass user story 9 but not 8.
.attr('data-month', (item) => item[1]-1)
What could I try to pass both?
The user stories are:
User Story #8: The data-month
, data-year
of each cell should be within the range of the data.
User Story #9: My heat map should have cells that align with the corresponding month on the y-axis.
Thanks for your time
Jaime
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
Challenge: Visualize Data with a Heat Map
Link to the challenge: