JSFiddle - React, Tailwind, and code Playground

by Fusher

HTML

<script src="http://code.highcharts.com/stock/highstock.js"></script>
<script src="http://code.highcharts.com/stock/modules/exporting.js"></script>


<div id="container" style="width: 500px;height: 500px"></div>

JavaScript

$(function() {
	$.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename=aapl-v.json&callback=?', function(data) {

		// create the chart
		$('#container').highcharts('StockChart', {
		    chart: {
		    },

		    rangeSelector: {
		        selected: 5
		    },

		    title: {
		        text: 'AAPL Stock Volume'
		    },

		    series: [{
		        type: 'column',
		        name: 'AAPL Stock Volume',
		        data: data
		    }]
		});
	});
});