function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Academiae Scientiarum Hungaricae', 1], ['American Museum Novitates', 5], ['Annotationes Zoologicae Japonenses', 1], ['Ecologica Montenegrina', 20], ['European Journal of Taxonomy', 2], ['Journal of the Federated Malay States Museums', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Linnean Society of New South Wales', 1], ['Records of the Indian Museum', 3], ['Speleolog', 1], ['ZooKeys', 11], ['Zoologischer Anzeiger', 1], ['Zoosystema', 1], ['Zootaxa', 32] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=81)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);