function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Universitatis Daugavpiliensis', 1], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Berliner Entomologische Zeitschrift', 1], ['Biodiversity Data Journal', 2], ['Bulletin of the American Museum of Natural History', 26], ['Caribbean Journal of Science', 1], ['Coleopterists bulletin', 3], ['Entomo Helvetica', 4], ['Félix Galletti', 1], ['Insecta Mundi', 3], ['Linzer biologische Beiträge', 1], ['The Coleopterists Bulletin', 4], ['Transactions of the American Entomological Society', 17], ['ZooKeys', 32], ['Zootaxa', 15] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=112)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);