Visualise depth of objects

Hi,

How can I visualise the depth of an object in CesiumJS in the same manner as the image below?
The image is from an article by Cesium: Visualize underground utilities, mines, and geological layers with Cesium – Cesium.

interesting