function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 1], ['Backhuys', 1], ['Journal of African zoology', 2], ['Journal of Natural History', 5], ['Journal of Oman Studies Special Report', 1], ['Journal of the Entomological Society of Southern Africa', 6], ['Linzer biologische Beiträge', 4], ['Memoirs of the Entomological Society of Southern Africa', 6], ['Zootaxa', 16] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=42)', 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);