function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 5], ['Amphibian & Reptile Conservation', 1], ['Bulletin of the American Museum of Natural History', 2], ['Check List', 27], ['European Journal of Taxonomy', 2], ['Geodiversitas', 1], ['Herpetologica', 2], ['Herpetological Monographs', 13], ['Papéis Avulsos de Zoologia', 3], ['Phyllomedusa', 1], ['ZooKeys', 19], ['Zoological Journal of the Linnean Society', 20], ['Zoosystematics and Evolution', 1], ['Zootaxa', 15] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=112)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);