function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Beiträge Zur Entomologie = Contributions to Entomology', 1], ['Berliner Entomologische Zeitschrift', 4], ['Berliner entomologische Zeitschrift / herausgegeben von dem Entomologischen Verein in Berlin', 1], ['Biodiversity Data Journal', 1], ['Caucasian Entomological Bulletin', 3], ['Ent Blatt', 1], ['Ins Life', 1], ['Insecta Mundi', 129], ['Insects of Guam I', 3], ['Journal of Natural History', 2], ['Pacific insects', 2], ['The Coleopterists Bulletin', 5], ['The Scientific Transactions of the Royal Dublin Society, Series 2', 3], ['ZooKeys', 37], ['Zootaxa', 50], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=246)', 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);