Le musée du Louvre

why is it du instead of de?​

The use of "du" instead of "de" in this context is due to the fact that the Louvre is a proper noun, and so it is treated differently than other nouns. In French, when a proper noun begins with a vowel or a silent "h," the article "du" is used instead of "de."