Interactive data edit for Plotly charts ... Plotly.newPlot(plot, data, layout); ... const controller = DrawDataPlotly(plot); ...