Which planet is visible here? (photo taken from Earth)
No transits of Mars or Jupiter could be seen from Earth. Mercury is much smaller and much closer to the Sun, so it would be merely visible as tiny spot during its transit. The transit of Venus across the face of the sun is one of the rarest predictable solar events. The last transit was in 2004 and the next will happen in 2117.