Data by the IMO shows that most incidents involving attacks on ships occurred in the Strait of Malacca, with others concentrated around the Gulf of Aden and Horn of Africa.
(Please use a modern browser to see the interactive version of this visualization)