Texera / texera

Collaborative Machine-Learning-Centric Data Analytics Using Workflows
https://texera.github.io
Apache License 2.0
161 stars 68 forks source link

Lisa add sankey diagram operator #2683

Closed Lisayjn749 closed 3 months ago

Lisayjn749 commented 3 months ago

sankey_test.csv

I created the sankey diagram operator. The operator shows up on the website but it's getting some errors. I have attached the simple test I used to test. Thanks for reviewing!

Lisayjn749 commented 3 months ago

The sankey diagram operator takes a csv file as an input, and creates a flow diagram as the result.

Input Table Format: There are three attributes (columns), Source, Target, and Value. The Source column has information about the start nodes; The Target column has information about the destination nodes. The Value column has information about the flow volume. Both Source and Target column uses String type for their values. The Value column uses Integer type. P.s. the name of the attributes could be customized

Sankey Diagram Property:

kunwp1 commented 3 months ago

@Lisayjn749 I suggest recreating the PR after you fix the issues below:

  1. Please correct the error related to using the Sankey diagram operator. Please create a pull request once the feature is functioning without errors. Check the worker's console or log for error messages you can review. It will help you fix the issue.
  2. Please move the description in the comment to the first comment. You can edit the first comment. Also include the screenshot in the description. Refer to other pull requests to see how they are created.