function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Bulletin of the American Museum of Natural History', 57], ['Comptes Rendus Hebdomadaires des Séances et Mémoires de la Société de Biologie', 1], ['European Journal of Taxonomy', 9], ['Journal of Natural History', 61], ['New Zealand Journal of Zoology', 6], ['Papéis Avulsos de Zoologia', 3], ['Raffles Bulletin of Zoology', 36], ['Species Diversity', 2], ['Wilhelm Engelmann', 1], ['ZooKeys', 6], ['Zoosystema', 22], ['Zootaxa', 68] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=273)', 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);