Highcharts Demo

author(s): Torstein Hønsi

by muris2016

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; max-width: 600px; margin: 0 auto"></div>

JavaScript

Highcharts.chart('container', {
    chart: {
        height: '80%',
        margin: 0
    },
		title: { text: null },
    subtitle: { text: null },
    plotOptions: {
        pie: {
            dataLabels: {
                enabled: false
            },
            startAngle: -90,
            endAngle: 90,
            //center: ['50%', '75%']
        }
    },
    series: [{
        type: 'pie',
        innerSize: '50%',
        data: [
            ['Firefox',   10.38],
            ['IE',       56.33],
            ['Chrome', 24.03],
            ['Safari',    4.77],
            ['Opera',     0.91],
            {
                name: 'Proprietary or Undetectable',
                y: 0.2,
                dataLabels: {
                    enabled: false
                }
            }
        ]
    }]
});