Professor of Physics Mark Newman from the University of Michigan, produced some interesting graphics of latest US elections. This is the arch-famous CNN type of map:
This is the map which shows the degree of preference by regions (red are still republicans, blue democrats, but the shades of purple give percentages in between):
We still believe Obama was a better candidate, but this is enough to say that the concurrent economic crisis and a better electoral campaign, were also influential in determining Obama's victory.
If you want more maps click here.