function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 71], ['Annals of the Entomological Society of America', 1], ['Berliner Entomologische Zeitschrift', 1], ['Berlingianis', 1], ['Biodiversity Data Journal', 1], ['Diptera Sveciae', 11], ['European Journal of Taxonomy', 72], ['Journal of Natural History', 1], ['Transactions and proceedings of the New Zealand Institute', 8], ['Zootaxa', 40] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=207)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);