function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Societe Entomologique de Belgique', 2], ['Belgian Journal of Entomology', 1], ['Bulletin de la Societe Vaudoise des Sciences Naturelles', 1], ['Deutsche Entomologische Zeitschrift', 1], ['Papéis Avulsos de Zoologia', 1], ['Reise in Ostafrika in den Jahren 1903 - 1905 mitteln der Hermann und Elise geb. Heckmann Wentzel-Stiftung ausgeführt von Profess', 1], ['Transactions of the Entomological Society of London', 2], ['ZooKeys', 5], ['Zootaxa', 26] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=40)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);