plotly / plotly/plotly.js

Blank spaces in between treemap - react plotly

Open
#7,218 4 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

Hello, I have been dealing with an issue while building a React Plotly treemap, when i use squarify as tiling whichi want to use for sizing of tiles based on KPI value, i get a lot of blank spaces inside categories. This is not the case with Python Plotly treemap where the sizing dynamically changes and fills the whole parent container automatically based on differencein values.
Suggest a way how can i deal with this in React

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

No source file, test, entry point, or reproducible example is identified in the issue. First reproduce the reported React Plotly treemap with squarify and compare it with the Python behavior described; done would require a confirmed project-side fix or documented supported approach for the blank spaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.