JSFiddle - React, Tailwind, and code Playground

by JoeKuan

HTML

<script type="text/javascript" src="http://code.highcharts.com/highcharts.js"></script>
	<body>
    <div id="container"></div>
	</body>

JavaScript

$(document).ready(function() {
        document.title = "Highcharts " + Highcharts.version;
        var chart = new Highcharts.Chart({
            chart: {
                renderTo: 'container',
                defaultSeriesType: 'pie',
                borderWidth: 1
            },
            title: {
                text: null
            },
            credits: { 
               position: {
                  align: 'left',
                  x: 20
               },
               text: null
            },
            plotOptions: {
                pie: {
                    size: '100%',
                    startAngle: 120,
                    endAngle: 420,
                    innerSize: 110,
                    dataLabels: {
                        enabled: false
                    }
               }
            },
            series: [{
                data: [ 100 ]
            }]
        });
    });