function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Société Entomologique de France, Séries 1 - 6', 1], ['Atti della Reale Accademia Economico-Agraria dei Georgofili di Firenze, n. s.', 1], ['Insecta Mundi', 4], ['Insects of Guam II', 2], ['Japanese Journal of Systematic Entomology', 2], ['Psyche', 1], ['Trans Proc N Z Inst', 2], ['Transactions of the Entomological Society of London', 1], ['ZooKeys', 9], ['Zoosystema', 2], ['Zootaxa', 52] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=77)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);