function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Breviora', 1], ['Bulletin of the Raffles Museum', 1], ['Check List', 1], ['Copeia', 1], ['Philippine Journal of Science, Section D', 5], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Biological Society of Washington', 2], ['Proceedings of the Zoological Society of London, B', 2], ['Raffles Bulletin of Zoology', 7], ['Stanford Ichthyological Bulletin', 3], ['United States Fish and Wildlife Service Research Report', 1], ['Zootaxa', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=30)', 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);