function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Check List', 1], ['Herpetologica', 1], ['Orgamisms, Diversity & Evolution', 1], ['Raffles Bulletin of Zoology', 3], ['Vertebrate Zoology', 1], ['ZooKeys', 3], ['Zoological Science', 3], ['Zootaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=25)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);