function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Constable', 5], ['A. F. Rose', 1], ['Annalen des Naturhistorischen Museums in Wien', 3], ['Laurentii Salvii', 4], ['Laurentius Salvius', 15], ['Mölleri apud Heineck et Faber', 3], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 6], ['Proceedings of the Zoological Society of London, B', 4], ['Quarterly Journal of Science, Literature, and the Arts', 6], ['Records of the Indian Museum', 2], ['Sanderiano Commissum', 2], ['Sitzungsberichte der Kaiserlichen Akademie der Wissenschaften, Mathematisch-Naturwissenschaften Classe', 8], ['Turkish Journal of Zoology', 2], ['Zoosystematics and Evolution', 2], ['Zootaxa', 11], ['Other (15)', 15] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=89)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);