function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Beverley Tucker', 3], ['Bulletin of the American Museum of Natural History', 1], ['Cybium', 1], ['European Journal of Taxonomy', 2], ['Journal of the Academy of Natural Sciences of Philadelphia', 1], ['Nederlandsch Tijdschrift voor de Dierkunde', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 5], ['Raffles Bulletin of Zoology', 4], ['Turkish Journal of Zoology', 1], ['Zoosystematics and Evolution', 2], ['Zootaxa', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=30)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);