function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anales de Instituto de Biología, Universidad Nacional Autónoma de México, Serie Zoologia', 1], ['Miscellaneous Publications of the Museum of Zoology University of Michigan', 1], ['Neotropical Ichthyology', 3], ['Occasional Papers of the Museum of Zoology, University of Michigan', 5], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Zoological Society of London, B', 2], ['Revista de Biologia Tropical', 1], ['Revue française d\'Aquariologie Herpétologie', 1], ['ZooKeys', 1], ['Zootaxa', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=24)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);