Skip to content

Conversation

@dgeyfman
Copy link
Contributor

Purpose:

This PR introduces a new visualization operator: Sunburst Chart. The Sunburst Chart visualizes hierarchical data, where each segment's size corresponds to a specific value attribute, allowing users to explore data hierarchically.

Changes:

  • Implemented the Sunburst Chart operator under operators/visualization.
  • Registered the Sunburst Chart in the LogicalOp array (located in edu.uci.ics.texera.workflow.common.operators).
  • Added a Sunburst Chart icon under the operator images.

Testing Instructions:

Open Texera workflow editor.
Use the following operators:

  • Use the CSV File Scan operator to load the CountrySalesData.csv file (available on the Getting Started Wiki).
  • Use the Sunburst Chart operator with the hierarchy: Region → Country, and set the value to Units Sold.
  • Use the HTML Visualizer to point at the HTML content produced by the Sunburst Chart operator.
  • Use the View Results operator to display the output.

Expected Result:

FullScreen
Result

…uses hierarchy/value to plot hierarchical data in a sunburst chart. Added to LogicalOp list of operators.
@dgeyfman dgeyfman self-assigned this Sep 19, 2024
Copy link
Contributor

@aglinxinyuan aglinxinyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dgeyfman dgeyfman merged commit 99d30ef into master Sep 19, 2024
@dgeyfman dgeyfman deleted the daniel-sunburst-chart-operator branch September 19, 2024 05:01
@kunwp1
Copy link
Contributor

kunwp1 commented Sep 19, 2024

The sunburst chart is already in the codebase as a hierarchychart operator. Can you revert this change??

@aglinxinyuan
Copy link
Contributor

The sunburst chart is already in the codebase as a hierarchychart operator. Can you revert this change??

That's a good point. We may want to keep list of exciting charts in wiki otherwise it's very hard to figure out the chart is already existing.

@kunwp1
Copy link
Contributor

kunwp1 commented Sep 19, 2024

The sunburst chart is already in the codebase as a hierarchychart operator. Can you revert this change??

That's a good point. We may want to keep list of exciting charts in wiki otherwise it's very hard to figure out the chart is already existing.

I do agree that we need to have a list somewhere. I noticed this link has a list in the description but it is outdated.

@dgeyfman
Copy link
Contributor Author

Definitely, I will change the operator to another one we need.

PurelyBlank pushed a commit that referenced this pull request Dec 4, 2024
### Purpose:
This PR introduces a new visualization operator: **Sunburst Chart**. The
Sunburst Chart visualizes hierarchical data, where each segment's size
corresponds to a specific value attribute, allowing users to explore
data hierarchically.

### Changes:
- Implemented the **Sunburst Chart** operator under
`operators/visualization`.
- Registered the Sunburst Chart in the `LogicalOp` array (located in
`edu.uci.ics.texera.workflow.common.operators`).
- Added a Sunburst Chart icon under the operator images.

### Testing Instructions:
Open Texera workflow editor.
Use the following operators:
- Use the **CSV File Scan** operator to load the `CountrySalesData.csv`
file (available on the Getting Started Wiki).
- Use the **Sunburst Chart** operator with the hierarchy: `Region →
Country`, and set the value to `Units Sold`.
- Use the **HTML Visualizer** to point at the HTML content produced by
the Sunburst Chart operator.
   - Use the **View Results** operator to display the output.

### Expected Result:

![FullScreen](https://github.com/user-attachments/assets/c17b0d2d-f24b-48cc-a7ed-1b85218eb217)

![Result](https://github.com/user-attachments/assets/ac95361c-020d-4502-a857-0133a1554d69)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants