function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Aqua, Journal of Ichthyology and Aquatic Biology', 3], ['Bulletin de la Société Zoologique de France', 2], ['Bulletin of the United States National Museum', 3], ['Copeia', 10], ['F. J. Belanfante', 2], ['Japanese Journal of Ichthyology', 2], ['Journal of the Ocean Science Foundation', 2], ['Notulae Naturae', 4], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 9], ['Proceedings of the Biological Society of Washington', 4], ['Proceedings of the United States National Museum, 3', 3], ['Species Diversity', 2], ['University of California Publications in Zoology', 8], ['Zoologica', 4], ['Zootaxa', 22], ['Other (18)', 18] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=98)', 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);