JSFiddle - React, Tailwind, and code Playground

by Ayyappan Sakthivadivel

HTML

<script src="http://github.highcharts.com/highcharts.js"></script>
<script src="http://github.highcharts.com/highcharts-more.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="height: 400px; min-width: 310px; max-width: 600px; margin: 0 auto"></div>

JavaScript

$(function () {
    $('#container').highcharts({
        plotOptions: {
            bubble: {
                marker: {
                    fillOpacity: 1,
                    fillColor: "rgba(255,0,0,1)",
                    states: {
                        hover: {
                            fillColor: 'rgba(0,0,0,1)',
                            lineWidth: 2,
                            lineColor: '#366DA7'
                        }
                    }
                }
            }
        },
        series: [{
            type: 'bubble',
            allowPointSelect: true,
            data: [
                [1, 2, 1],
                [1, 1, 1]
            ]
        }]
    });
});