There are many 2d density functions:
MASS::kde2d
fields::smooth.2d
hexbin::hexbin
In general, visualization of 3d point clouds is rather complicated. Pseudo 3d with surfaces is good, but the points are not displayed with sufficient depth. If you really want to try, use the package rglso you can turn it around.
source
share