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: {
                   startAngle: 30,
                   endAngle: 270, 
                   dataLabels: {
                       enabled: false
                   }
               }
            },
            series: [{
                data: [ { y: 100, color: 'yellow' } ]
            }]
        });
    });