JSFiddle - React, Tailwind, and code Playground

by no1uknow

HTML

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

<div id="container_chartFreqAtaTailNum" style="width: 700px;"></div>

JavaScript

$(function () {
    var chart; 
    $(document).ready(function() {
		
		
		
		var container_chartFreqAtaTailNum = new Highcharts.Chart({
		chart: {
				renderTo: 'container_chartFreqAtaTailNum',
						
						type: 'bar',
						height: 795
						
					},
					title: {
						text: 'Frequency by Tail Number'
					},
					subtitle: {
						text: 'Fact ATA (25)'
					},
					xAxis: {
						categories: ['235','245','402','411','432','442','493','703','714','720','730','745','756','767','772','792'],
						title: {
							text: 'Tail Number'
						},
						labels: {
                            style: {
                                width: '12000px'
                            }
                        }
					},
					yAxis: {
						min: 0,
						title: {
							text: 'Count',
							align: 'high'
						},
						labels: {
							overflow: 'justify'
						}
					},
					tooltip: {
						formatter: function() {
							return ''+ this.series.name +': '+ this.y +' Count';
						}
					},
					plotOptions: {
						bar: {
							dataLabels: {
								enabled: true
							}
						},
						series: {
							pointWidth:10,
                            groupPadding: .05,
							shadow: true
						}
					},
					legend: {
						layout: 'horizontal',
						align: 'center',
						verticalAlign: 'bottom',
						floating: false,
						borderWidth: 1,
						backgroundColor: '#FFFFFF',
						shadow: true,
						labelFormatter: function() {
							return '<div class="' + this.name + '-arrow"></div><span style="font-family: \'Advent Pro\', sans-serif; font-size:12px">' + this.name +'</span><br/><span style="font-size:10px; color:#ababaa">   Total: ' + this.options.total + '</span>';
						}
					},
					credits: {
						enabled: false
					},
					exporting: { 
						enabled: true 
					},
					series: [{
				name: 'Heavy',
				total: '5421',
				data: [117,102,698,640,251,115,269,279,260,309,328,427,316,754,239,317]
				},{
				name: 'Intermediate',
				total: '4888',
				data:...