function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 32], ['Annales de la Société Entomologique de France, Séries 1 - 6', 1], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Aquatic insects', 1], ['Biodiversity Data Journal', 38], ['Check List', 9], ['Insects of Guam II', 2], ['Journal of Natural History', 6], ['Linzer biologische Beiträge', 12], ['Raffles Bulletin of Zoology', 3], ['Zootaxa', 99] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=204)', 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);