JSFiddle - React, Tailwind, and code Playground

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: 'line',
            marginRight: 130,
            marginBottom: 25
        },
        title: {
            text: 'Monthly Average Temperature',
            x: -20 //center
        },
        subtitle: {
            text: 'Source: WorldClimate.com',
            x: -20
        },
        xAxis: {
            categories: ['2008-03-31', '2009-03-31', '2010-03-31']
        },
        yAxis: {
            title: {
                text: 'Value'
            },
            plotLines: [{
                value: 0,
                width: 1,
                color: '#808080'
            }],
            labels: {
             
              formatter: function() {
                var ret = '',multi,axis = this.axis,numericSymbols = ['k', 'M', 'G', 'T', 'P', 'E'],
                    i = numericSymbols.length;
                    while (i-- && ret === '') {
                        multi = Math.pow(1000, i + 1);
                        if (axis.tickInterval >= multi && numericSymbols[i] !== null) {
                            ret = Highcharts.numberFormat(this.value / multi, -1) + numericSymbols[i];
                        }
                    }
                    return ret;
              }
        	}
        },
        tooltip: {
            valueSuffix: '',
            formatter: function () {
                console.log(Highcharts, this);
                var ret = '',
                    multi,
                    axis = this.series.yAxis,
                    numericSymbols = ['Thousand', 'Million', 'Billion', 'Trillion', 'Quadrillion', 'Quintillion'],
                    i = numericSymbols.length;
                while (i-- && ret === '') {
                    multi = Math.pow(1000, i + 1);
                    if (axis.tickInterval >= multi && numericSymbols[i] !== null) {
                        ret = Highcharts.numberFormat(this.y / multi, -1) + numericSymbols[i];
                    }
 ...