function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 7], ['Amurian Zoological Journal', 4], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Biodiversity Data Journal', 5], ['Entomo Helvetica', 1], ['Far Eastern Entomologist', 2], ['Insecta Mundi', 6], ['Linzer biologische Beiträge', 36], ['Revue suisse de Zoologie', 2], ['The Coleopterists Bulletin', 4], ['ZooKeys', 5], ['Zootaxa', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=81)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);