function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Agricultural Gazette of New South Wales', 1], ['Biodiversity Data Journal', 3], ['Insects of Guam II', 9], ['Journal of Agriculture of the University of Puerto Rico, Universidad Central de Las Villas, Cuba', 1], ['Journal of the Australian Entomological Society', 1], ['New Zealand journal of zoology', 2], ['Proceedings of the Royal Society of Queensland', 3], ['ZooKeys', 4], ['Zootaxa', 112] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=136)', 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);