Animated map shows the evolution of American accents

When you're traveling to another part of the US, it might be surprising to hear how different the locals sound. For instance, a New Yorker will likely speak the same English language in a completely different accent from a native Texan. How did Americans get so many distinctive accents?