One example where this was particularly obvious was the 2016 Presidential election, where one candidate won one large state by such a massive margin, and lost many smaller states by slivers of margins, that one
single state by itself caused the
electoral college result to differ from the popular vote (the state was California - if add up the remaining 49 states and DC, the other candidate comfortably won the popular vote as well as the
electoral college).