function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Alpine Entomology', 1], ['Amurian Zoological Journal', 5], ['Annales de la Société Scientifique de Bruxelles. Memoires', 3], ['Caucasian Entomological Bulletin', 7], ['Entomo Helvetica', 8], ['European Journal of Taxonomy', 10], ['Far Eastern Entomologist', 2], ['Journal of Natural History', 1], ['Linzer biologische Beiträge', 2], ['Raffles Bulletin of Zoology', 8], ['ZooKeys', 7], ['Zootaxa', 74] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=128)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);