library(plotly)
## Loading required package: ggplot2
## 
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
## 
##     last_plot
## The following object is masked from 'package:stats':
## 
##     filter
## The following object is masked from 'package:graphics':
## 
##     layout
temp <- rnorm(100, mean = 30, sd = 5)
pressure <- rnorm(100)
time <- 1:100
plot_ly(x = temp, y = pressure, z = time, type = "scatter3d", mode = "markers", color = temp)