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

image

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

i want to create like this image using above object

image

please help me…