function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['Crustaceana', 1], ['European Journal of Taxonomy', 9], ['Journal of Natural History', 23], ['Journal of Species Research', 2], ['Proceedings of the Zoological Acclimatisation Society of Victoria', 1], ['Records of the Australian Museum', 6], ['Smithsonian Contributions to Zoology', 1], ['ZooKeys', 9], ['Zoosystematics and Evolution', 8], ['Zootaxa', 63] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=124)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);