I was trying to think of how to write a general rotation matrix in $\mathbb R^3$ but was struggling a bit. I thought that there would be two independent parameters, say an angle for rotating about the $\textbf{k}$ unit vector as in the 2D case, and then some other angle but I couldn't figure out what this other angle should be a rotation about. So I looked up rotation matrices and was surprised to find (both Wolfram alpha and Wikipedia say) that the rotation in $\mathbb R^3$ is a composition of a rotation about each of the axes with some independent angle. So that means three independent parameters?
Perhaps I am understanding something wrong here, but why is it the case that in a plane (2D) you need only one angle $\theta$ to describe a rotation and here in $\mathbb R^3$ it is saying that we need three?