You are on solid ground to think of the real numbers as mapping to a line and the complex numbers as mapping to a plane. I suppose quaternions map to a three-dimensional space, but, honestly, I know virtually nothing about quaternions. Here is the wiki article about them:
http://en.wikipedia.org/wiki/Quaternion
I know almost as little about physics as I do quaternions. But as far as I know, physical space is seldom (never?) represented by the real number line. Physical space is usually represented by the set of 3-tuples of real numbers (or a vector in three dimensions). Time then comes in as a fourth dimension. This should get you started
http://en.wikipedia.org/wiki/Spacetime
Unfortunately Quaternions are not a true generalization, as they are not a field (but still a division ring). I think I remember reading that there is no structure on
R3 that turns it into a field, but I could be mistaken.
edit, right, I had forgotten the basics! If you have studied abstract algebra, taking the set of polynomials over a field
F[x] and quotienting by an irreducible polynomial:
F[x]/⟨f(x)⟩ (sending all multiples of f(x) to 0) will produce a vector space which is also a field over the base field
F.
The way one can construct
C is by taking the quotient of
R[x] by the irreducible polynomial
f(x)=x2+1, that is, all polynomials, but taking care to replace any multiples of
x2 by
−1. This, as a set of polynomials ends up being just
{ax+b;a,b∈R}, which looks exactly like the set of complex numbers (
x↔i).
The reason why there is no such structure on
R3 is because all real polynomials of odd degree have a root (calculus lends us a hand here), and so there is no irreducible cubic to divide with.