function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the Carnegie Museum', 8], ['Biodiversity Data Journal', 4], ['Check List', 20], ['Copeia', 5], ['Memoirs of the Carnegie Museum', 11], ['Neotropical Ichthyology', 21], ['Novedades Colombianas', 4], ['Papéis Avulsos de Zoologia', 4], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 14], ['Proceedings of the Biological Society of Washington', 4], ['Proceedings of the California Academy of Sciences, Series 2', 5], ['Proceedings of the United States National Museum, 3', 4], ['Rev. Mus. Paulista', 7], ['Zoosystema', 6], ['Zootaxa', 73], ['Other (45)', 66] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=256)', 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);