UCSD vs University of Wisconsin-Madison

I agree, don’t let rankings of any kind color your decision. Your advisor will determine how many options you have for your first position out of the Ph.D. and after that any effect fades because it is up to you to make a name for yourself. Both departments are large enough that there are plenty of good faculty to work with and a lot of research funding around.