function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Chiropterologica', 4], ['European Journal of Taxonomy', 6], ['Handbook of the Mammals of the World – Volume 9 Bats', 14], ['Mammal Species of the World (1 st Edition)', 14], ['Mammal Species of the World (2 nd Edition)', 14], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 28], ['PLoS ONE', 2], ['Records of the Australian Museum', 2], ['Zoosystema', 1], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=87)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);