JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<div id="empcontainer" style="height: 300px"></div>
JavaScript
$(function () {
$('#empcontainer').highcharts({
chart: {
type: 'bar'
},
title: {
text: 'Attendance Comparison'
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar']
},
yAxis: {
title: {
text: 'Attendance (# of Days)'
}
},
credits:{
enabled: false
},
series: [{
name: 'Kamal',
data: [25, 30, 28]
}, {
name: 'Vikas',
data: [15, 22, 30]
}],
});
});