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
{{ message }}
This repository has been archived by the owner on Nov 11, 2018. It is now read-only.
Not having to type values a zillion times is nice since I use them so much. I typically manually add multiple levels of nesting and mutate with a forEach loop instead of using sort, rollup or multiple key calls:
The ends up being a bit longer and not nearly as pretty, but is easier to incrementally experiment with different subgrouping and summary statistics while exploring different forms.
Sometimes it’s convenient to group an array by a single key. You can do that using d3.nest like so:
Is it worth making a convenience function for this?
I guess it would violate the parsimony principle.
The text was updated successfully, but these errors were encountered: