Skip to content

feat: add a new radar chart operator#4248

Open
PG1204 wants to merge 1 commit intoapache:mainfrom
PG1204:main
Open

feat: add a new radar chart operator#4248
PG1204 wants to merge 1 commit intoapache:mainfrom
PG1204:main

Conversation

@PG1204
Copy link

@PG1204 PG1204 commented Feb 28, 2026

What changes were proposed in this PR?

image

This change introduces a radar chart operator, which visualizes multivariate data by plotting multiple quantitative variables on axes that radiate from a central point.

In a radar chart:

Each axis represents a distinct variable or feature.
Data points are plotted along each axis according to their value and connected to form a polygon.
Multiple observations can be overlaid for comparison.
The resulting shape and area provide intuitive insights into the strengths, weaknesses, and patterns across variables.
This visualization is especially useful for comparing feature profiles, identifying outliers, and understanding the distribution of values across several dimensions in a single, compact graphic.
The operator takes as input a set of variables (features) for each observation and outputs a radar chart that enables easy visual comparison across all provided dimensions.

Any related issues, documentation, discussions?

No related issues, documentation, discussions have been linked to this feature at this time.

How was this PR tested?

A dedicated test file (TestRadarChart.scala) was created to thoroughly test the radar chart operator, covering both typical and edge cases. The tests verify correct rendering and data handling for various input scenarios. In addition, all existing test cases were run using sbt test to ensure no regressions were introduced. Manual testing was also performed in the Texera UI to visually confirm the radar chart output.

Was this PR authored or co-authored using generative AI tooling?

This PR was co-authored by Perplexity AI.

@github-actions github-actions bot added frontend Changes related to the frontend GUI common labels Feb 28, 2026
@PG1204
Copy link
Author

PG1204 commented Feb 28, 2026

@Ma77Ball & @chenlica , requesting your review

@chenlica
Copy link
Contributor

@Ma77Ball Please review it first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common frontend Changes related to the frontend GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants