JSFiddle - React, Tailwind, and code Playground

by samur3

HTML

<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.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({

        chart: {
            type: 'bubble',
            zoomType: 'xy'
        },
        
        title: {
            text: 'Highcharts Bubbles'
        },
        yAxis: {
            min: 0,
            max: 1000000,
            title: {
                text: 'LOC'
            }
        },
        xAxis: {
            min: 0,
            max: 100,
            title: {
                text: 'Risk'
            }
        },
        
        
       
        
        series: [{
            showInLegend: false,
            data: [{
                name: 'Point 1',   
                color: "#ff0033",
                y: 1000000,
                x: 96
            }, 
            {
                name: 'Point 2',   
                color:'#cc3333',
                y: 800000,
                x: 70
            },
            {
                name: 'Point 3',
                color:'#cc6633',
                y: 600000,
                x: 60
            },
                   {
                name: 'Point 4',
                       color:'#996633',
                y: 400300,
                x: 40
            },
                   {
                name: 'Point 5',
                color:'#669933',
                y: 123456,
                x: 20
            },
                   {
                name: 'Point 6',
                color:'#33cc33',
                y: 67890,
                x: 10
            },
                   {
                name: 'Point 7',
                color:'#00ff33',
                y: 45378,
                x: 5
            }],
            
        }]
    });
});