This mismatch between the electoral and popular votes came about because Trump won several large states (such as Florida, Pennsylvania and Wisconsin) by very narrow margins, gaining all their electoral votes in the process, even as Clinton claimed other large states (such as California, Illinois and New York) by much wider margins.