By gender

Men made up a slight majority of voters for the first time in any recent Virginia election. But while men tend to vote more Republican, they favored Gillespie by just two points, smaller than Trump's nine-point edge last year.

Northam won female voters by 22 points, larger than Clinton's 17-point advantage last year.