 There is already some research on this. They have the identifiable victim effect where if you observe a single individual in crisis, you're more likely to donate money than if it's an abstract group. Or you're more likely to donate money to groups that you have some affiliation with than ones that are unfamiliar to you.