Preparing a donut chart – multiple series
Highcharts offers another type of pie chart, a donut chart. It has the effect of drilling down on a category to create subcategories, and is a convenient way of viewing data in greater detail. This drill-down effect can be applied on multiple levels. In this section, we will create a simple donut chart that has an outer ring of subcategories (game titles) that align with the inner categories (publishers).
For the sake of simplicity, we will only use the top three games publishers for the inner pie chart. The following is the series array configuration for the donut chart:
series: [{ name: 'Publishers', dataLabels : { distance: -70, color: 'white', formatter: function() { return this.point.name + ':<br/> ' + Highcharts.numberFormat(this.y / 1000000, 2); }, style: { fontWeight: 'bold' } }, data: [ [ 'Nintendo', 54030288...