Replies: 1 comment
-
Hey, quite late to answer but in case this is still open, here is my implementation for the calendar heatmap: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone 👋
I've been trying to knock down a heatmap based off of the gallery example. I'm basically trying to re-create heatmap for react but I'm pretty stumped as to why my scales are clearly broken.
Here's a codesandbox
My idea was to generate all the days for the specified date range:
group em later on by YYYY-mm:
generate the bins (bins is always a 1 item array? for my data at least...)
my scales, which i'm almost positive is wrong
then finally:
this is probably the closest i've gotten... any help at all for a front end newb would be greatly appreciated 🙏
Beta Was this translation helpful? Give feedback.
All reactions