Highcharts.chart('course', {
chart: {
type: 'variablepie'
},
title: {
text: 'Countries compared by population density and total area.'
},
tooltip: {
headerFormat: '',
pointFormat: '<span style="color:{point.color}">\u25CF</span> <b> {point.name}</b><br/>' +
'Population density (people per square km): <b>{point.y}</b><br/>'
},
series: [{
minPointSize: 10,
innerSize: '20%',
zMin: 0,
name: 'countries',
data: [{
name: 'C',
y: 7000
},{
name: 'A',
y: 5000
},{
name: 'B',
y: 2000
}, {
name: 'D',
y: 4000
}]
}]
});