My codepen: https://codepen.io/sonnerz/pen/PrewMg
I have two issues (well I have a few but I’ll concern myself with these two for now)
- getting the colour scaling to work
- my months begin at February (I think this has to do with arrays beginning at 0 - but not sure where to adjust it). I fixed this:
d.month = new Date(0, d.month-1, 1, 0, 0, 0);
But I think the fix is crude and not the right way to do it.
Any help to point me in the right direction…thanks.