function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of Entomological Research', 1], ['Bulletin of the Illinois State Laboratory of Natural History', 1], ['Canadian Entomologist', 1], ['European Journal of Taxonomy', 4], ['Hawaii Agricultural Experiment Station Report', 1], ['Proceedings of the California Academy of Sciences', 1], ['Proceedings of the Entomological Society of Washington', 3], ['The Journal of the College of Agriculture, Tohoku Imperial University, Sapporo, Japan', 1], ['Zootaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=25)', 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);