Spherical coordinates can be generalized to hyperspherical coordinates, as discussed [here](https://en.wikipedia.org/wiki/N-sphere#Spherical_coordinates).