Here’s something you can do as a developer to help “hide” the view data button when clicking and hovering over a viz. Granted – this is a bit superficial as it doesn’t disable the Download > Data option within Tableau Server. BUT – it deters, and as a by-product it also hides the options for ‘Keep Only’, and ‘Exclude’ which very often can cause confusion for curated dashboards in which we don’t want users to do much of their own editing. These are called “command buttons” and Tableau hides the option to turn this off very well.
Tableau thought the best place to turn this off would be… the tooltip marks card… Uncheck “Include command buttons”.
If you do want to disable ‘View Data’ at the server level… take a look here: