function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Annals of Natural History; or, Magazine of Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany and Zoo', 14], ['Ballière', 115], ['Biodiversity Data Journal', 24], ['Far Eastern Entomologist', 2], ['Insect Systematics and Diversity', 2], ['Proceedings of the Hawaiian Entomological Society', 1], ['The London and Edinburgh Philosophical Magazine and Journal of Science, Series 3', 1], ['Zootaxa', 18] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=179)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);