JSFiddle - React, Tailwind, and code Playground
HTML
<iframe id="graph"> </iframe>
<input type="button" value="Show Graph" onClick="$('#graph').show();">
<input type="button" value="Hide Graph" onClick="$('#graph').hide();">
JavaScript
$(document).ready(function()
{
$("#graph").hide();
});