Uh, a presidential race is not a mob rule, popularity contest.
Any of the 4 candidates needed 152 Electoral College Votes to claim the election victory,
and Lincoln secured 180, with ZERO votes counted in 10 states in the South.
The 10 that subsequently seceded from The Union, with that as the impetus..
*Source Cited: Your own wikipedia page you suggested be 'look at'