function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archives de Zoologie Expérimentale et Générale: Hitorire Naturelle, Morphologie, Histologie, Évolution des Animaux', 1], ['Cybium', 1], ['Notas Prel. Mus. La Plata Buenos Aires', 1], ['Transactions of the Royal Society of Edinburgh', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=6)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 4, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);