JSFiddle - React, Tailwind, and code Playground

by gumaro

HTML

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

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

JavaScript

var json = [{"name": 'Produto 01',"data": [1]}, {"name": 'Produto 02',"data": [2]}, {"name": 'Produto 03',"data": [3]}];

$(function () {
        $('#mychart').highcharts({
            chart: {
                type: 'column'
            },
            title: {
                text: 'Quantidade x Produtos'
            },
            credits: {
                enabled: false
            },
            xAxis: {
                categories: ['Produtos']
            },
            yAxis: {
                min: 0,
                title: {
                    text: 'Quantidade'
                }
            },
            series: json
        });
    });