Please give me a CustomPlotlyChart sample

please give me a CustomPlotlyChart sample

// Available variables are x, ys, element, and Plotly
// Type console.log(x, ys); for more info about x and ys
// To plot your graph call Plotly.plot(element, …)
// Plotly examples and docs: https://plot.ly/javascript/