Skip to content

d3-pack throws error at extendBasis for the given data #150

@aarthi0808

Description

@aarthi0808

Facing same kind of issue in using d3-hierarchy for pack layout. Please check the data i am using,
["a",5.473061352023348e+21], ["b", 1.1729457180068344e+21], ["c", 1023]

Checkout the error stack messages

at extendBasis (d3-hierarchy.v1.js:353)
at enclose (d3-hierarchy.v1.js:321)
at packEnclose (d3-hierarchy.v1.js:536)
at d3-hierarchy.v1.js:626
at Node.node_eachAfter [as eachAfter] (d3-hierarchy.v1.js:140)
at pack (d3-hierarchy.v1.js:586)

Need a fix for this issue @mbostock

Originally posted by @aarthi0808 in #100 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions