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.
Yes, this is the expected behavior. Per the README:
The return value of the rollup function will replace the array of leaf values in either the associative array returned by nest.map or nest.object; for nest.entries, it replaces the leaf entry.values with entry.value.
You can try using array.map if you want to change the structure of the returned object. If you have further questions, also consider using Stack Overflow or the d3-js Google group to ask for help. Thank you!
Maybe I get this wrong but why does the rollup function creates an object with the key "value". I expected "values". Is this wanted behaviour ?
And how can I get "values" as key ?
https://jsfiddle.net/niekes/u6h4summ/1/
The text was updated successfully, but these errors were encountered: