text: San Francisco attracts the fifth-highest number of foreign tourists of any city in the U.S., ranks 43rd out of the 100 most visited cities worldwide,, and claims Pier 39 near Fisherman's Wharf as the third-most popular tourist attraction in the nation.