Polar analysis of the Dirac equation through dimensions