function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Société entomologique de Belgique', 1], ['Biodiversity Data Journal', 1], ['Bulletin de la Société Entomologique de France', 1], ['Elytra, Tokyo', 93], ['Far Eastern Entomologist', 1], ['Japanese Journal of Systematic Entomology', 53], ['L\'Échange, Revue Linnéenne', 3], ['Mélanges exotico-entomologiques. Moulins', 3], ['Records of the Zoological Survey of India', 1], ['The Coleopterists Bulletin', 1], ['ZooKeys', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=161)', 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);