Performance Issues with Sankey Diagram in react-plotly.js with large data
未关闭
还没有人认领这个 Issue。
bug
P3
performance
- 主要语言
- JavaScript
- 星标
- 18.3k
- 派生
- 2k
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 28
描述
I'm experiencing performance issues when using react-plotly.js to create a Sankey diagram in a Next.js project. When I use a large dataset, the application crashes. I have created a sample project with some data that demonstrates the problem. The project works if I limit each part to 4 values.
Here is the link to the sample project: https://jsfiddle.net/hongquanhak/foawx0Ld/1/
Is there any way to improve the performance of the Sankey diagram with large datasets?
Thank you for your help!
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从链接的 JSFiddle 示例项目开始,使用较大的数据集重现 Sankey 图崩溃,然后将其与每个部分包含四个值的情况进行比较。确定所演示的渲染路径中的哪一部分导致性能故障;当较大的数据集能够在不崩溃的情况下完成渲染,并且性能得到可测量的改善时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, next.js, react
- 领域
- data-visualization, frontend, performance
- Issue 类型
- 缺陷
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100