Got a D in math junior year. can i still get into a UC

<p>thank you for your positive replies. i’m taking precalculus next year which will be my 4th year of math in HS.
because i want to go to graduate school (medical), how much of a difference will it make if i go to a lower tier (but still UC) school? assuming i perform well</p>