Blog Tableau student test page February 16, 2022May 22, 2022 by adalgleish var divElement = document.getElementById(‘viz1645301829416’); var vizElement = divElement.getElementsByTagName(‘object’)[0]; if ( divElement.offsetWidth > 800 ) { vizElement.style.width=’1000px’;vizElement.style.height=’827px’;} else if ( divElement.offsetWidth > 500 ) { vizElement.style.width=’1000px’;vizElement.style.height=’827px’;} else { vizElement.style.width=’100%’;vizElement.style.height=’727px’;} var scriptElement = document.createElement(‘script’); scriptElement.src = ‘https://public.tableau.com/javascripts/api/viz_v1.js’; vizElement.parentNode.insertBefore(scriptElement, vizElement); Post navigation Creating Interactive Data Visualizations with TableauTest