function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Academiae Scientiarum Hungaricae', 2], ['Arthropoda Selecta', 5], ['Biodiversity Data Journal', 21], ['Caucasiana', 1], ['Far Eastern Entomologist', 1], ['Forest Spiders of South East Asia With a revision of the sac and ground spiders- Family Liocranidae', 15], ['Journal of Natural History', 4], ['Riceland Spiders of South and Southeast Asia', 2], ['ZooKeys', 33], ['Zoological Systematics', 22], ['Zootaxa', 133] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=239)', 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);