plotly / plotly.js

Open-source JavaScript charting library behind Plotly and Dash
https://plotly.com/javascript/
MIT License
16.99k stars 1.86k forks source link

Blank spaces in between treemap - react plotly #7218

Open divyaaaansh opened 1 week ago

divyaaaansh commented 1 week ago

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 ![Uploading Screenshot 2024-10-07 181209.png…]()

gvwilson commented 1 week ago

Thanks for your report - unfortunately the screenshot does not appear to have uploaded, and it would help a lot if you could also post a minimal reproducible example. thanks - @gvwilson

divyaaaansh commented 1 week ago

Screenshot 2024-10-09 103537

Here is a better screenshot of the issue, while using squarify for tiling

divyaaaansh commented 1 week ago

@gvwilson It would be really helpful if you can comment on this issue as soon as possible please!

gvwilson commented 1 week ago

thank you for the screenshot - we are in the run-up to a release at the end of this month, so we won't be able to look at it before then, but I hope someone will be able to help you after that. thanks - @gvwilson