One of the features of Tableau Server is that it allows you to embed your visualizations on websites. However, if you simply use the embed code generated by Tableau Server, users of mobile devices or smaller (or larger) screens may not be able to view and interact fully with your visualization.
Below are some steps we've found to work with Tableau visualizations. If you've had success with other settings, please let us know!
Before publishing the workbook to Tableau Server, go to the Dashboard in Tableau Desktop and set the Size to Automatic.
After publishing the workbook to Tableau Server, set the width style to 100% in the <div> and <object> tabs of the embed code. For example: