JSFiddle - React, Tailwind, and code Playground

by lacroixca

HTML

<script src="http://highcharts.com/js/highcharts.src.js"></script>
<div id="container" style="height: 400px"></div>

JavaScript

var chart;
$(function() {
chart = new Highcharts.Chart({
    chart: {
        renderTo: 'container',
        defaultSeriesType: 'scatter'
    },
    xAxis: {
    },
    yAxis: {
        startOnTick: false,
        showFirstLabel: false,
        max: 220,
        min: 25,
        tickInterval: 39,
    },
    tooltip: {
        formatter: function() {
            return '<b>'+ this.series.name +'</b><br/>'+
                this.x +': '+ this.y;
        }
    },
    plotOptions: {
    },
    series: [{
        data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
        
    }]
});

});