function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 1], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 3], ['Ballière', 2], ['Biodiversity Data Journal', 30], ['Bulletin of the Bernice P. Bishop Museum', 1], ['European Journal of Taxonomy', 3], ['Journal of Hymenoptera Research', 1], ['Linzer biologische Beiträge', 6], ['Proceedings of the Hawaiian Entomological Society', 1], ['Systematic entomology', 11], ['Transactions of the Entomological Society of London', 1], ['ZooKeys', 11], ['Zoosystema', 4], ['Zootaxa', 141] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=216)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);