Plotting – Create a distribution figure on parallel sheets

Is there a way to create a similar picture as in Mathematica below? In the figure, it is a distribution that is continuous in one dimension and discreet in another. I do not want to define a distribution function with this property so much, but only create a similar distribution figure on parallel tables as described.

Enter the image description here

Source: "Actuarial Mathematics", 2nd edition, Bowers et al., P. 309