function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 17], ['Biodiversity Data Journal', 47], ['Bulletin of the American Museum of Natural History', 7], ['Check List', 47], ['European Journal of Taxonomy', 1], ['Evolutionary Systematics', 1], ['Herpetologica', 1], ['Palaeontologia Electronica', 1], ['Papéis Avulsos de Zoologia', 3], ['Vertebrate Zoology', 1], ['ZooKeys', 33], ['Zoological Journal of the Linnean Society', 16], ['Zootaxa', 18] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=193)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);