function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Sinica', 1], ['Biol. Results " Endeavour "', 2], ['Bulletin of the Bernice Pauahi Bishop Museum', 1], ['Bulletin of the United States National Museum', 1], ['Hydrobiologia', 1], ['Journal of Natural History', 1], ['Memoirs of the Carnegie Museum', 2], ['Philippine Journal of Science, Section D', 1], ['Theses Zoologicae', 2], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=13)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);