Problem plotting scatter3d

I obtained a nice example from this site on how to plot 3D density plots. I downloaded and loaded their data file and ran the code as is displayed, but no plot appears. I have tried with my own data, and again no plot. The library plotly is loaded. Any thoughts on what the issue is?