From frictional to viscous behavior: Three-dimensional imaging and rheology of gravitational suspensions