JSFiddle - React, Tailwind, and code Playground

by Gonzalo

HTML

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

<div id="container" style="min-width: 400px; height: 400px; margin: 0 auto"></div>

JavaScript

$(function () {
    $('#container').highcharts({
        chart: {
            type: 'column'
        },
        title: {
            text: 'Efficiency Optimization by Branch'
        },
        xAxis: {
            categories: [
                '201401',
                '201402',
                '201403'
            ]
        },
        yAxis: [{
            min: 0,
            title: {
                text: 'Employees'
            }
        }, {
            title: {
                text: 'Profit (millions)'
            },
            opposite: true
        }],
        legend: {
            shadow: false
        },
        tooltip: {
            shared: true
        },
        plotOptions: {
            column: {
                grouping: false,
                shadow: false,
                borderWidth: 0
            }
        },
        series: [{
            name: 'avg',
            color: 'rgba(165,170,217,1)',
            data: [523.54, 492.28, 547.2],
            pointPadding: 0.2,
            pointPlacement: -0.2
        }, {
            name: 'std',
            color: 'rgba(126,86,134,.9)',
            data: [710.78, 680.56, 718.76],
            pointPadding: 0.3,
            pointPlacement: -0.2
        }, {
            name: 'mode',
            color: 'rgba(248,161,63,.5)',
            data: [508.21, 455.01, 540.85],
            pointPadding: 0.4,
            pointPlacement: -0.2,
            //yAxis: 1
        },{
            name: 'max',
            type: 'spline',
            yAxis: 2,
            data: [13160, 10767.78, 12782],
           yAxis: 1
            

        },{
            name: 'min',
            type: 'spline',
            data: [0.61, 0.5, 0.71],
  yAxis: 1
        }]
    });
});