function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Atti della Società Italiana di Scienze Naturali e del Museo Civico di Storia Naturale di Milano', 1], ['Bulletin of the Bingham Oceanographic Collection Yale University', 1], ['Copeia', 1], ['European Journal of Taxonomy', 1], ['Ichthyological Bulletin of the J. L. B. Smith Institute of Ichthyology', 1], ['Proceedings of the Biological Society of Washington', 1], ['Proceedings of the California Academy of Sciences, Series 4', 1], ['Species Diversity', 1], ['Videnskabelige Meddelelser frå Dansk Naturhistorisk Forening', 1], ['ZooKeys', 1], ['Zoologica', 2], ['Zootaxa', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=20)', 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);