JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<div id="container" style="height: 100%"></div>
JavaScript
$(function () {
$('#container').highcharts({
chart: {
type: 'column'
},
xAxis: {
title: {
text: 'Year',
},
type: 'datetime'
},
yAxis: {
title: {
text: 'Rating'
}
},
series: [{
data: [{
name: 'Point 1',
x: Date.UTC(1998,0,1),
y: 1
}, {
name: 'Point 2',
x: Date.UTC(1999,0,1),
y: 3
}]
}]
});
});