JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://d33t3vvu2t2yu5.cloudfront.net/tv.js"></script>
<script src="https://code.jquery.com/jquery-git.min.js"></script>
<h1>
Simpson Co 
</h1>
<select name="fx" class="fx">
			  <option value="EURUSD">EURUSD</option>
			  <option value="EURJPY">EURJPY</option>
</select>

<hr>
<div id="feed">
  
  
</div>

JavaScript

var s2 = document.createElement("script");
                               // s2.type = "text/javascript";
s2.text = "new TradingView.widget({" +
  '"width": 450,' +
  '"height": 400,' +
  '"symbol": "SSD",' +
  '"interval": "D",' +
  '"timezone": "Etc/UTC",' +
  '"theme": "White",' +
  '"style": "1",' +
  '"locale": "en",' +
  '"toolbar_bg": "#f1f3f6",' +
  '"hide_side_toolbar": true,' +
  '"allow_symbol_change": true,' +
  '"hideideas": true' +
  '});'
  
  $(s2).appendTo("#feed");