In current Texera, we use Plotly Python package for all kinds of visualizations. Typically, this is done by the following:
In a Python UDF operator, write code to add traces/lines to a plot via Plotly.
Convert the plot to an HTML string in the same UDF.
Pass the string to the HTML visualizer operator.
Here is one example:
It's good if we can get those visualizations easily by using one operator instead of coding using Python. We can extract some frequently used parameters in Plotly such as longitudelatitude, x/y values, and create an operator where the user only needs to specify the column name as those parameters to get the visualization done. It is better if we can allow users to do customization without writing code.
In current Texera, we use Plotly Python package for all kinds of visualizations. Typically, this is done by the following:
Here is one example:
It's good if we can get those visualizations easily by using one operator instead of coding using Python. We can extract some frequently used parameters in Plotly such as
longitude
latitude
,x/y values
, and create an operator where the user only needs to specify the column name as those parameters to get the visualization done. It is better if we can allow users to do customization without writing code.