You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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