All surveys are generalizations, which is a negative way to put it, but they are. A survey that was done too quickly was done hastily, thus a hasty generalization. The speaker uses data that was gathered haphazardly. A hasty data gathering as well as a survey needs to follow similar rules. These requirements will prevent the survey from being fallacious.
Macintoshes are the most popular computers.
Sure, I asked my Mom. She said she liked Macintoshes. Therefore, they're the most popular.