function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['F. J. Belanfante', 1], ['Natuurkunde Tijdschrift voor Nederlandsche-Indiƫ', 1], ['Philippine Journal of Science, Section D', 2], ['Records of the Indian Museum', 1], ['Transactions of the Royal Society of Arts and Sciences of Mauritius, New Series', 1], ['Transactions of the Royal Society of New Zealand, Zoology', 1], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=11)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);