function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Universitatis Daugavpiliensis', 2], ['Acta Entomologica Musei Nationalis Pragae', 155], ['American Museum Novitates', 1], ['Annals of the Carnegie Museum', 2], ['Baldwin and Cradock', 1], ['Beiträge Zur Entomologie = Contributions to Entomology', 4], ['Biodiversity Data Journal', 8], ['Bulletin of the American Museum of Natural History', 34], ['Caucasian Entomological Bulletin', 1], ['Entomologicheskoe Obozrenie', 1], ['Insecta Mundi', 3], ['Insects of Guam I', 2], ['Linzer biologische Beiträge', 47], ['ZooKeys', 36], ['Zootaxa', 122], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=420)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);