Plot

By creating an index.html file in the correct directory, an interactive plot can be created. The easiest way to create an interactive plot is to use Plotlyarrow-up-right, but you can also handcraft an HTML file as long as the file is placed in:

circle-info

/data/{ARTIFACT_FOLDER}/index.html

Plotly

Following is an example using Plotly:

plot.py
import plotly.graph_objects as go
import plotly.offline as pyo
import os 

def transform(df):
    fig = go.Figure()
    pyo.plot(fig, filename=f"/data/{os.environ['ARTIFACT_FOLDER']}/index.html")