Skip to content

Add support for left-aligned leaf nodes in Sankey #6567

Description

@dbnl-renaud

Is your feature request related to a problem? Please describe.
Currently, Sankey charts area always justified with the leaf nodes showing at the right of the chart. It would be nice to have to option to have the leaf nodes left aligned, so that they show at the same depth of other nodes with the same logical depth.

Describe the solution you'd like
Add an option to left align Sankey nodes.

Describe alternatives you've considered
N/A

Additional context
See d3 sankey node alignment property: https://github.com/d3/d3-sankey?tab=readme-ov-file#alignments

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions