function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 65], ['African invertebrates', 25], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Biodiversity Data Journal', 2], ['European Journal of Taxonomy', 20], ['Insects of Guam-II', 1], ['Japanese Journal of Systematic Entomology', 6], ['Journal of Insect Science', 3], ['Journal of Natural History', 7], ['Linzer biologische Beiträge', 1], ['Raffles Bulletin of Zoology', 1], ['Zootaxa', 41] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=173)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);