This question already has an answer here:
I have a C-1/D visa valid until 2019, but I am not working on a cruise ship right now. I work at the Atlantis in Nassau, Bahamas. I want to travel to India via a US airport. Would I be able to use the C-1/D visa to transit through the USA, or do I need a separate transit visa to make the trip?