function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Australian zoologist', 1], ['Biodiversity Data Journal', 2], ['Bulletin du Muséum National d’Histoire Naturelle, Série 2', 1], ['Cybium', 6], ['Proceedings of the Zoological Society of London, B', 1], ['Verslagen en Mededeelingen der Koninklijke Akademie van Wetenschappen. Afdeeling Natuurkunde', 1], ['Zootaxa', 13] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=25)', 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);