3d scatter plot based on plotly.js documentation