Donald Trump is closing in on victory in the race for the White House as he is projected to win the crucial swing states of Pennsylvania, North Carolina and Georgia.