function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. F. Rose', 7], ['American Med. Philos. Reg.', 2], ['Annals and Magazine of Natural History', 2], ['Bulletin of the Museum of Comparative Zoology at Harvard College', 7], ['Cybium', 5], ['D. Carlisle', 2], ['European Journal of Taxonomy', 8], ['F. Schoell', 4], ['Geodiversitas', 2], ['Journal of Systematic Palaeontology', 2], ['Journal of the Academy of Natural Sciences of Philadelphia', 2], ['Laurentii Salvii', 2], ['Laurentius Salvius', 16], ['Mémoires de l\'Académie des Sciences de St. Pétersbourg, 7', 2], ['Zootaxa', 21], ['Other (18)', 19] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=103)', 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);