Does d3.hierarchy require explicit sum and sort to match d3.layout.hierarchy behavior?
I am migrating a tree visualization from d3.layout.hierarchy in d3.js v3 to d3.hierarchy in d3.js v5. The layout must preserve the same node aggregation and sibling ordering as the previous implementation. Available notes indicate that d3.hierarchy does not apply a default sum accessor and that its sort method replaces the legacy sort property with a compara