How to calculate x,y and z in 3d surface chart in plotly js?

i want to create 3d chart in plotly.js

Here is my object


x: x axis
y: y axis
height: z axis
size: size of each entity

i want to create like this image using above object


please help me…