You are really close! Tableau Public has a 'wrapper' UI around the visualizations that's different from the one in Tableau Server (which is what the original article you referenced is using). You can still make this work, though! Add the following parameter to the URL &:showVizHome=no, for example: