function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['European Journal of Taxonomy', 4], ['Geodiversitas', 1], ['Journal of Molluscan Studies The Malacological Society of London', 30], ['Libraria Aulica Hahniana', 1], ['Papéis Avulsos de Zoologia', 2], ['Transactions of the geological society of London, 2', 1], ['Visaya', 10], ['Zoosystema', 2], ['Zootaxa', 288] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=339)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);