Implements the Ternary Plot Python native operator.
Description
A ternary plot, also known as a ternary graph or triangular plot, represents the proportions of three variables that sum to a constant, typically 100%. The plot is shaped like an equilateral triangle, with each vertex representing one of the three variables and points within the triangle representing different ratios of the three.
The ternary plot was implemented using the Plotly library in Python; more details can be found here.
Changes
Three files were updated/added:
TernaryPlotOpDesc.scala: implements the ternary plot visualization operator as a Python native operator
LogicalOp.scala: registers ternary plot
TernaryPlot.png: the icon used in the front end for ternary plot
Demo
A screenshot of the ternary plot in the GUI is below:
Purpose
Implements the Ternary Plot Python native operator.
Description
A ternary plot, also known as a ternary graph or triangular plot, represents the proportions of three variables that sum to a constant, typically 100%. The plot is shaped like an equilateral triangle, with each vertex representing one of the three variables and points within the triangle representing different ratios of the three.
The ternary plot was implemented using the Plotly library in Python; more details can be found here.
Changes
Three files were updated/added:
Demo
A screenshot of the ternary plot in the GUI is below:![image](https://github.com/Texera/texera/assets/97552093/af74d0e2-7313-4362-a3e9-5de6c4f38f60)