I think there was just that much dislike/hate for Hillary by a large enough group of people, that she couldn't win. Bernie was the media darling, but I'm saying just pick any random Dem from the House or Senate or Governor, who had more than 1 term in office, and that person would have done better than Hillary.
Well, actually I think you would have seen less votes for both candidates, less for the Dem because Hillary did have her extremist supporters some of whom may not have voted because it wasn't her; and Trump would have gotten less, losing the anti-Hillary votes.
Personally, I was so appalled by both of them, I voted for every other office, but either left the President blank or voted for the Libertarian. I admit, Trump wasn't as bad as I had feared. I don't care about tweets & what someone says, I care about what they do (or don't do).