function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 1], ['Annales de la Société Entomologique de France, Séries 1 - 6', 1], ['Bulletin du Muséum National d’Histoire Naturelle, Série 2', 1], ['Christ. Gottl. Proft', 2], ['Linzer biologische Beiträge', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['ZooKeys', 2], ['Zootaxa', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=20)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);