function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Sibirica', 2], ['Acta Entomologica Musei Nationalis Pragae', 1], ['Biodiversity Data Journal', 2], ['Bulletin of the American Museum of Natural History', 1], ['Christ. Gottl. Proft', 1], ['Far Eastern Entomologist', 1], ['Gottl. Friedr. Schniebes', 2], ['Halteres', 2], ['Insects of Guam II', 2], ['Laurentii Salvii', 2], ['Laurentius Salvius', 66], ['Linzer biologische Beiträge', 5], ['Revue suisse de Zoologie', 18], ['ZooKeys', 3], ['Zootaxa', 63], ['Other (7)', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=178)', 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);