JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>

<div id="container" style="min-width: 310px; max-width: 800px; height: 400px; margin: 0 auto"></div>

JavaScript

$(function () {
    $('#container').highcharts({
        chart: {
            type: 'bar'
        },      
        xAxis: {
        		min: 0,
            max: 2,
            categories: [1, 2, 3]
        },
        plotOptions: {
            series: {
                stacking: 'normal'
            }
        },
        series: [{
            name: 'A',
            data: [{ x: 0, y: 5 }]
        }, {
            name: 'B',
            data:  [{ x: 1, y: 4 }]
        }, {
            name: 'C',
            data:  [{ x: 1, y: 4 }]
        }, {
            name: 'D',
            data: [{ x: 2, y: 2 }]
        }]
    });
});