function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Société Entomologique de France, Séries 1 - 6', 4], ['Berliner entomologische Zeitschrift', 1], ['Bulletin of entomological research', 1], ['Canadian entomologist', 1], ['Comparative Cytogenetics', 2], ['Entomological news', 1], ['Entomologist\'s monthly magazine', 1], ['Insecta Mundi', 13], ['Invertebrate systematics', 1], ['Journal of Natural History', 5], ['New Zealand entomologist', 3], ['Transactions and proceedings of the New Zealand Institute', 7], ['ZooKeys', 49], ['Zoosystema', 6], ['Zootaxa', 248], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=344)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);