This is an example of how to embed my tableau projects
TEST KPI
super-embed:
<div id="tableau-viz">
<script type="module" src="https://public.tableau.com/javascripts/api/tableau.embedding.3.latest.min.js"></script>
<tableau-viz id="tableauViz"
<tableau-viz
src="https://public.tableau.com/views/TestKPI_17104399807610/Dashboard2"
>
<viz-parameter name="Spanish" value="true"></viz-parameter>
</tableau-viz>
</tableau-viz>
</div>
in English
super-embed:
<div class='tableauPlaceholder' id='viz1721920144417' style='position: relative'>
<noscript><a href='#'><img alt='VNR Quality Tracker ' src='https://public.tableau.com/static/images/SD/SDGVNRQualityTracker/VNRQualityTracker/1_rss.png' style='border: none' /></a></noscript>
<object class='tableauViz' style='display:none;'>
<param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' />
<param name='embed_code_version' value='3' />
<param name='site_root' value='' />
<param name='name' value='SDGVNRQualityTracker/VNRQualityTracker' />
<param name='tabs' value='no' />
<param name='toolbar' value='no' />
<param name='static_image' value='https://public.tableau.com/static/images/SD/SDGVNRQualityTracker/VNRQualityTracker/1.png' />
<param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' />
<param name='display_overlay' value='yes' /><param name='display_count' value='yes' /><param name='language' value='en-US' /></object></div>
<script type='text/javascript'> var divElement = document.getElementById('viz1721920144417'); var vizElement = divElement.getElementsByTagName('object')[0]; if ( divElement.offsetWidth > 800 ) { vizElement.style.minWidth='800px';vizElement.style.maxWidth='1300px';vizElement.style.width='100%';vizElement.style.minHeight='1027px';vizElement.style.maxHeight='1051px';vizElement.style.height=(divElement.offsetWidth*0.75)+'px';} else if ( divElement.offsetWidth > 500 ) { vizElement.style.width='100%';vizElement.style.height='1051px';} else { vizElement.style.width='100%';vizElement.style.height='2027px';} var scriptElement = document.createElement('script'); scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js'; vizElement.parentNode.insertBefore(scriptElement, vizElement); </script>