Hasty Generalization is a logical fallacy. The relevant part of this is the "hasty' nature of the generalization, which means generalizing the group erroneously and without supported evidence, based on the particulars of a few within that group. As explained above, it's "Making an unwarranted claim about the group from the particulars or characteristics of a select few within the group." Generalization by itself is not necessarily a fallacy. You would have to look at what's being generalized, and on what grounds the generalization is based.