JSFiddle - React, Tailwind, and code Playground

by Roland Doda

HTML

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

<div id="container">
    <div id="chart"></div>
</div>

CSS

#container {
    background: red;
    border: 1px solid green;
    width: 300px;
    height: 200px;
}

JavaScript

$(function() {
    var chart = new Highcharts.Chart({

        chart: {
            renderTo: 'chart',
            margin: 0,
            width: 300,
            height: 200,
            defaultSeriesType: 'areaspline'
        },

        series: [{
            data: [33,4,15,6,7,8, 73,2, 33,4,25],
    
            marker: {
                enabled: false
            }
        }]
    });
});