function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Universitatis Daugavpiliensis', 1], ['Acta Entomologica Musei Nationalis Pragae', 2], ['Annals of the Lyceum of Natural History of New York', 1], ['Baltic journal of coleopterology', 3], ['Bulletin de la Société Impériale des Naturalistes de Moscou', 2], ['Edman', 1], ['Fauna of New Zealand', 2], ['Insects of Guam I', 1], ['Japanese Journal of Entomology', 1], ['Linzer biologische Beiträge', 1], ['The Scientific Transactions of the Royal Dublin Society, Series 2', 1], ['ZooKeys', 5], ['Zootaxa', 30] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=51)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);