function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Societatis Regiae Scientiarum Indo-Neêrlandicae', 1], ['Annale van die Suid-Afrikaanse Museum [Annals of the South African Museum]', 1], ['Memoirs of the Indian Museum', 1], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 6], ['Proceedings of the Royal Society of Queensland', 2], ['Proceedings of the United States National Museum, 3', 2], ['Proceedings of the Zoological Society of London, B', 1], ['The Journal of the Indian Archipelago and Eastern Asia', 1], ['Zoologische Mededelingen, Leiden', 1], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=20)', 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);