function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 15], ['Amurian Zoological Journal', 5], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Annals of the Carnegie Museum', 5], ['Biodiversity Data Journal', 75], ['Ecologica Montenegrina', 1], ['Entomo Helvetica', 18], ['Entomologist\'s monthly magazine', 8], ['Insecta Mundi', 50], ['Japanese Journal of Systematic Entomology', 2], ['Linzer biologische Beiträge', 40], ['Proceedings of the California Academy of Sciences', 3], ['The Coleopterists Bulletin', 35], ['ZooKeys', 334], ['Zootaxa', 88], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=683)', 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);