function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Société Entomologique de France, Séries 1 - 6', 1], ['Biodiversity Data Journal', 10], ['Insecta Mundi', 1], ['Raffles Bulletin of Zoology', 1], ['UPLB Museum Publications in Natural History', 1], ['Zoosystema', 7], ['Zootaxa', 65] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=86)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);