function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 12], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Biodiversity Data Journal', 7], ['Entomologist\'s monthly magazine', 2], ['Folia Entomologica Hungarica', 1], ['Insects of Guam II', 2], ['Linzer biologische Beiträge', 4], ['Raffles Bulletin of Zoology', 7], ['The University of Kansas Science Bulletin', 30], ['Tijdschrift voor Entomologie', 2], ['Yves Gravier', 1], ['Zootaxa', 21] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=90)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);