antvis / antvis/G2Plot

🐛 [Enhancement] 桑基图数据量过多时,如何展示

Open
#2,867 0 comments 0 reactions 0 assignees View on GitHub
Bug enhancement
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

### 🐛 Bug description [Please make everyone to understand it]
数据过多时,桑基图不能展示连线。截图中大约为700条记录。

### 💻 Link to minimal reproduction

https://codesandbox.io/s/sankey-demo-myeqh?file=/index.ts

### 📷 Step to reproduce
(1)打开链接。
(2)用准备好的数据,替换示例的数据集

### 🏞 Expected result
桑基图正常展示连线

### 🚑 Any additional [like screenshots]
![image](https://user-images.githubusercontent.com/29271225/134336574-86a1a463-a16e-4379-85cf-f88e8c2a6301.png)

* **G2Plot Version**:
* **Platform**:

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction, particularly index.ts, and replace the sample dataset with the prepared data containing about 700 records. Observe how the Sankey chart handles the larger dataset and compare it with the expected result: all connecting lines should render normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.