A FlyerTalk Posting Legend
Join Date: Sep 2009
Location: Minneapolis: DL DM charter 2.3MM
Programs: A3*Gold, SPG Plat, HyattDiamond, MarriottPP, LHW exAccess, ICI, Raffles Amb, NW PE MM, TWA Gold MM
Posts: 102,617
Unless you're eligible for a transit visa due to your itinerary, visa requirements generally don't depend on your previous country, only your passport and purpose for the trip. Another exception where the routing can matter could be countries that sell visas on arrival but only in certain airports.
There are various websites that show visa and health requirements for world travel. Some of these ask you to enter the details of your itinerary, so this would be a way to find answers to your specific questions.