How will college classes I take in high school affect me when I apply to grad school?

I’m a junior in HS, and last semester I took an online trig course in an accelerated session at a local CC, and on top of all my other courses, it proved to be too much so I withdrew with a W. I’ve taken about 60 credits of classes besides the trig class and have maintained a 4.0 college GPA. Will this W affect my admissions to a grad school?

Will all the other classes I’ve taken be applied to my GPA and such when I apply to grad school or is there a certain expiration date on their usefulness, as in if I apply to grad school 6 years from now will they still be useful? Since all of the college courses I’ve taken thus far have been at local CCs/non-selective unis, if I go to a top 20 school and then apply to grad school, how will they consider my gpa? Will they care more about the gpa from the top 20 school, or will they just care about the average of my gpa from 4 years at the top 20 school + 60 creds at local CCs?

No. It’ll just be a pain to have to send out all the extra transcripts. But Ws aren’t that big a deal. I took a class for my social science requirement my freshman year. It didn’t go well, so I took a W. I took the same exact class my junior year. Bombed the midterm, took another W. Figured out a way to take a different social science class my senior year. Messed up one of the midterms, but worked hard to be basically perfect after that and get a C+. Still got into a highly ranked Math Ph.D. program.

Freshmen go to college and completely screw up their first semester (even their first year) all the time, yet still get into great grad schools. Heck, I had a friend who dropped an extra class he didn’t need that he was going to pass (maybe not an A, but nothing awful) just so he could go home for winter break a few days earlier. I think he went to a decent law school, where admissions is probably more of a numbers game than grad school.

Not only does it depend on the school, it depends on the program.
I applied to two different programs at the same school- one wanted the transcripts from dual-enrolled high school classes. The other didn’t want any transcripts beyond my Bachelors degrees and beyond.