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 ', 1], ['Annual Report of the Missouri State Board of Agriculture', 2], ['Biodiversity Data Journal', 24], ['Insects of Guam II', 3], ['Journal N Y Ent Soc', 1], ['Journal of Natural History', 2], ['Linzer biologische Beiträge', 2], ['Pacific insects', 1], ['Proceedings of the Entomological Society of Washington', 3], ['Zootaxa', 64] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=103)', 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);