Skip to content

partition.padding should accept a function? #123

Open
@alexlenail

Description

@alexlenail

What if partition.padding accepted a function which returned an int, instead of just an int?

d3.partition().size([w, h]).padding(d => d.height * 10).round(true);

Result would look like:

untitled drawing

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