Will a college care if I have one bad class?

Hi I am a sophomore looking to transfer next year. Last semester I got a D in my statistics class, other than that I am an A B student, and I am currently a history major. I really don’t want to retake the class, but I will if it will look awful on my transcript. Long story short do you think that colleges will care about one bad grade that doesn’t have much to do with my major?

Depends upon which college(s) you are targeting for transfer, if the class is a major pre-req and how much of an impact it has on your transfer GPA.