function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 1], ['Benjamin White and Son', 6], ['Bulletin of the American Museum of Natural History', 1], ['European Journal of Taxonomy', 80], ['Journal of Natural History', 27], ['Laurentius Salvius', 45], ['Memoirs of Museum Victoria', 1], ['Papéis Avulsos de Zoologia', 1], ['Poisson', 2], ['Polar biology', 1], ['Proceedings of the Biological Society of Washington', 1], ['Revue suisse de Zoologie', 33], ['Zootaxa', 405] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=604)', 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);