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], ['Biodiversity Data Journal', 8], ['E. W. Janson', 1], ['Journal of the Department Agriculture Puerto Rico', 1], ['Linzer biologische Beiträge', 2], ['Proceedings of the Entomological Society of Philadelphia', 1], ['The Journal of Entomology. Descriptive and Geographical', 4], ['Transactions of the Entomological Society of London', 15], ['Transactions of the Illinois State Agricultural Society', 1], ['Zootaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=47)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);