function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 5], ['Annali del Museo Civico di Storia Naturale \' Giacomo Doria\'', 1], ['Beiträge Zur Entomologie = Contributions to Entomology', 4], ['Bollettino della Società Entomologica Italiana', 1], ['Bulletin de la Société Impériale des Naturalistes de Moscou', 1], ['Insecta mundi', 2], ['Linzer biologische Beiträge', 3], ['Memorie della Società Entomologica Italiana', 1], ['Neuestes Magazin für die Liebhaber der Entomologie / Schneider', 1], ['New Zealand Institute', 1], ['Revue suisse de Zoologie', 1], ['Species Diversity', 21], ['Transactions of the Entomological Society of New South Wales', 2], ['ZooKeys', 7], ['Zootaxa', 22], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=74)', 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);