JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>

<script src="https://code.highcharts.com/modules/solid-gauge.js"></script>

<div style="width: 600px; height: 400px; margin: 0 auto">
    <div id="container-speed" style="width: 600px; height: 500px; float: left"></div>
</div>

CSS

.highcharts-yaxis-grid .highcharts-grid-line {
	display: none;
}

JavaScript

$(function () {

    var gaugeOptions = {

        chart: {
            type: 'solidgauge'
        },

        title: null,

        pane: {
            center: ['50%', '50%'],
            size: '90%',
            startAngle: -140,
            endAngle: 140,
            background: {
                backgroundColor: (Highcharts.theme && Highcharts.theme.background2) || '#EEE',
                innerRadius: '80%',
                outerRadius: '100%',
                shape: 'arc'
            }
        },

        tooltip: {
            enabled: false
        },
        
        xAxis : {
        	labels: {
          	enabled: true
          }
        },

        // the value axis
        yAxis: {
            lineWidth: 1,
            minorTickInterval: 0.5,
            tickAmount: 2,
            zIndex: 4,
            tickColor: "#222",
            minorTickColor: "#222",
            title: {
                y: 50
            },
            labels: {
                y: 20,
                distance: 0.5
            },
            stops: [
                [0.4999, '#55BF3B'], // green
                [0.5, '#DF5353'] // red
            ],
            plotBands: [{
              color: '#55BF3B', // Color value
              from: -4, // Start of the plot band
              to: 0,
              outerRadius: "78%"
            },
            {
              color: '#DF5353', // Color value
              from: 0, // Start of the plot band
              to: 4,
              outerRadius: "78%"
            }
            ]
        },

        plotOptions: {
            solidgauge: {
                dataLabels: {
                    y: 5,
                    borderWidth: 0,
                    useHTML: true
                },
                innerRadius: "80%"
            }
        }
    };

    // The speed gauge
    var chartSpeed = Highcharts.chart('container-speed', Highcharts.merge(gaugeOptions, {
        yAxis: {
            min: -4,
            max: 4,
           ...