function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Sibirica', 1], ['Acta Entomologica Musei Nationalis Pragae', 30], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Biodiversity Data Journal', 14], ['Biota Neotropica', 1], ['Bulletin of the United States Geological and Geographical Survey of the Territories', 1], ['Cladistics', 1], ['Entomo Helvetica', 1], ['Insects of Guam II', 2], ['Linzer biologische Beiträge', 15], ['Neotropical Entomology', 2], ['New Zealand journal of zoology', 1], ['ZooKeys', 57], ['Zoosystema', 4], ['Zootaxa', 240], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=375)', 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);