plotly / plotly/plotly.js

Sankey links go out of boundaries with automatic layout at some window sizes

Open
#7,261 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug P3
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
28

Description

Hi,
When plotting Sankey, links are sometimes not fully shown. It only happens at some window sizes. I attached some example images, and I am attaching a plotly minimal example .zip file which contains images and an .html file to reproduce the bug. If you open the html file and try to make the window taller, links will go out of boundary
plotly_minimal_example.zip

Image

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the attached plotly_minimal_example.zip and its HTML file, then resize the window vertically to reproduce the Sankey links leaving the plot boundary. Use the included images as comparison points; done means automatic layout keeps all links fully visible at the affected window sizes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.