I am using the R programming language. I am following this tutorial over here for making 3 plots in R: https://plotly.com/r/3d-surface-plots/
library(plotly)