Getting ready Loading up and checking the data Making the 3D scatter plot Add predictions Fit a model Making Predictions Adding predictions Prediction surface Make the prediction Adding the surface ‘plotly’ is a popular graphing package in Python, but also has an R interface.