function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Berliner Entomologische Zeitschrift', 1], ['Insect Systematics and Diversity', 2], ['Journal of Hymenoptera Research', 3], ['Memoirs of the American Entomological Institute', 1], ['Revista Brasileira de Entomologia', 4], ['Studia Entomologica (N. S.)', 2], ['Trudy Russkago Entomologicheskago Obshchestva', 1], ['Verhandlungen der Zoologisch-Botanischen Gesellschaft in Wien', 2], ['ZooKeys', 2], ['Zoosystema', 3], ['Zootaxa', 27] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=48)', 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);