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
Except there’s not an obvious way to do this because hierarchy.sum gets called before it’s passed to d3.treemap. If layouts didn’t mutate data #62, then it’d be easier to move the summation into the treemap algorithm and ignore negative values.
The text was updated successfully, but these errors were encountered:
I’ve updated the treemap chart (and related charts) to wrap the specified value accessor to treat negative values as zero. I think short of folding the value (and sort) operations directly into the treemap layouts, this is basically done.
Except there’s not an obvious way to do this because hierarchy.sum gets called before it’s passed to d3.treemap. If layouts didn’t mutate data #62, then it’d be easier to move the summation into the treemap algorithm and ignore negative values.
The text was updated successfully, but these errors were encountered: