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 () {
    var chart;

    $(document).ready(function() {

        chart = new Highcharts.Chart({

            chart: {

                renderTo: 'container'

            },

            title: {

                text: 'Combination chart'

            },

            tooltip: {

                formatter: function() {

                    var s;

                    if (this.point.name) { // the pie chart

                        s = ''+

                            this.point.name +': '+ this.y +' fruits';

                    } else {

                        s = ''+

                            this.x  +': '+ this.y;

                    }

                    return s;

                }

            },

            series: [ {

                type: 'pie',

                name: 'Total consumption',

                data: [{

                    name: 'Jane',

                    y: 13,

                    color: '#4572A7' // Jane's color

                }, {

                    name: 'John',

                    y: 23,

                    color: '#AA4643' // John's color

                }, {

                    name: 'Joe',

                    y: 19,

                    color: '#89A54E' // Joe's color

                }],

                center: [100, 80],

                size: 100,

                showInLegend: false,

                dataLabels: {

                    enabled: false

                }

            }, {

                type: 'pie',

                name: 'Total consumption',

                data: [{

                    name: 'Jane',

                    y: 13,

                    color: '#4572A7' // Jane's color

                }, {

                    name: 'John',

                    y: 23,

                    color: '#AA4643' // John's color

                }, {

                    name: 'Joe',

                    y: 19,

                    color: '#89A54E' // Joe's color

                }],

          ...