function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Arquivos do Museu Nacional Rio de Janeiro', 1], ['Check List', 1], ['Ciencia, Mexico City', 1], ['New Zealand Journal of Science and Technology', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Proceedings of the Biological Society of Washington', 4], ['Proceedings of the United States National Museum, 3', 2], ['Publications of the Field Museum of Natural History, Zoölogical', 1], ['Raffles Bulletin of Zoology', 1], ['Revista de Biologia Tropical', 1], ['Trudy P. P. Shirshov Instytut Okeanologii', 1], ['Zootaxa', 14] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=30)', 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);