function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 3], ['Annals of the Carnegie Museum', 1], ['Anzeiger', 1], ['Boletim do Museu Nacional Rio de Janeiro, Zoologia', 2], ['Ind. Univ. Studies', 2], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 2], ['Oversigt over det Kongelige Danske Videnskabernes Selskabs Forhandlinger', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 8], ['Proceedings of the California Academy of Sciences, Series 2', 2], ['Proceedings of the Zoological Society of London, B', 3], ['Rev. Mus. Paulista', 3], ['Rev. Mus. Sao Paulo', 2], ['Sitzungsberichte der Kaiserlichen Akademie der Wissenschaften, Mathematisch-Naturwissenschaften Classe', 3], ['Transactions of the Zoological Society of London', 2], ['Zootaxa', 3], ['Other (8)', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=47)', 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);