the relevant post is here: interactive 3D plot with right aspect ratio using plotly
For a further improvment, I am wondering how to plot a container frame according to the bin size, so the graph can display more clearly how much spare space is left, when container is not full? just like what is shown below: