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
Thanks for the suggestion. Can you expand a bit on the use-case you have in mind for this? My confusion is because this data structure is very similar to the structure you get back without using nest, just using sum and avg. Thanks!
I'm using reductio to generate data for a grouped bar chart, displaying timeseries data. My dataset has properties Date and Type. I'm using Date as dimension key. Then for each group (where key is Date), I need to display sum separately for each type.
Currently I'm achieving it by using .nest(d => d.Type), and calculating aggregations manually for each sub-group (per Type).
Thanks for the explanation. That does make sense. I'll need to think a little bit about how to accomplish this, and don't have much time at the moment, but I'll see if I can come up with something. If you want to take a shot at it, feel free to send a pull request.
ie, nest() would return an array of objects like:
The text was updated successfully, but these errors were encountered: