JSFiddle - React, Tailwind, and code Playground

Percent example

by pepperdigital

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; height: 400px; margin: 0 auto"></div>

JavaScript

Highcharts.chart('container', {
    chart: {
        type: 'column'
    },
       
            credits: {
        enabled: false
    },
     exporting: {
        enabled: false
    },
    title: {
        text: ''
    },
    colors: ['#86BC25', '#43B02A', '#046A38', '#0097A9', '#62B5E5', 
   '#00A3E0', '#0076A8', '#012169', '#2C5234', '#C4D600'],
    xAxis: {
        categories: ['Smartphone', 'Laptop computer', 'Large tablet: over 9 inches', 'Desktop/tower computer', 'Fitness band', 'Smart watch', 'Small tablet: between 7-9 inches',  'Standard mobile phone',  'Virtual reality headset']
    },
    yAxis: {
        min: 0,
        max: 100,
        title: {
            text: 'asdfa'
        },
                labels: {
            format: '{value}%'
        }
    },
    tooltip: {
        pointFormat: '<span style="color:{series.color}">{series.name}</span>: <b>{point.y}</b> ({point.percentage:.0f}%)<br/>',
        shared: true
    },
    plotOptions: {
        column: {
            stacking: 'normal'
        }
    },
         tooltip: {
        formatter: function () {
            return this.series.name +
                '<br><b>' + this.y + '%</b>';
        }
    },
    series: [{
        name: 'Last day',
        data: [91, 68, 62, 61, 61, 57, 51, 34, 9]
    }, {
        name: 'Last week',
        data: [3, 16, 21, 18, 12, 15, 20, 14, 22]
    }, {
        name: 'Last month',
        data: [1, 6, 8, 8, 7, 7, 11, 14, 28]
    }, {
        name: 'Last three months',
        data: [1, 3, 4, 4, 6, 7, 6, 9, 18]
    }, {
        name: 'Longer than three months ago',
        data: [3, 6, 5, 8, 7, 8, 10, 24, 18]
    }, {
        name: 'Never',
        data: [0, 0, 1, 0, 5, 6, 1, 2, 5]
    }]
});