function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 147], ['Acta Zoologica Academiae Scientiarum Hungaricae', 3], ['Ecologica Montenegrina', 44], ['Invertebrate Taxonomy', 1], ['Memoirs of Museum Victoria', 1], ['Proceedings of the Japanese Society of Systematic Zoology', 1], ['Records of the Australian Museum', 9], ['Records of the Western Australian Museum', 2], ['Transactions of the Royal Society of New Zealand, Biological Sciences', 1], ['Zoologischer Anzeiger', 1], ['Zoosystema', 1], ['Zootaxa', 331] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=542)', 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);