IIRC some swing states were decided by less than 1%?
Yes, by 89 people. Incredible.
If Trump had won all of those instead, there would have been an electoral college tie, which would have resulted in the House deciding on a one-vote-per-state basis. It wouldn't have been pretty.
Biden also won Pennsylvania, with its 20 electoral votes, by 1.16%.