The number of people included in a single layoff wasn't a factor.
The people who snapped treated it as a personal affront and wanted revenge on the company. If anything, being laid off in a large group made it feel less personal to people. The people who felt unfairly singled out were the angriest. If an entire satellite office was closed or a department was laid off together they didn't take it as personally.
I think that in a way, to really learn why you shouldn't depend on your company for your social circle, it sort of requires being laid off (not really, but kind of; some sudden permanent intervention in your work-life). I consider it a blessing in disguise that I realized this early, even if it meant a job loss. People who get comfy in marriages or long-term jobs or buy a house early on tend to spend their resources in the obvious optimal efficient ways, which is to make their friends at work or through their partner or literally right next door to their house. But those are not generally or reliably resilient to significant change. Proximity will always be important, but if your friends need to be literally where you work every day or over the fence, you are isolated and socially vulnerable. If you leave the job or move, it's now dramatically more expensive for both parties to encounter each other, and it's best to incur that expense intentionally before you end up needing to.