Answer Posted / Shubham Goel
```Rnnlibrary(plotly) n# create scatter plot datanscatter_data <- data.frame(x = c(1, 2, 3, 4), y = c(5, 6, 7, 8)) n# create the plotnplot_ly(scatter_data, x = ~x, y = ~y) n```
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers