function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Sibirica', 1], ['Biodiversity Data Journal', 2], ['Bulletin of the American Museum of Natural History', 1], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['Deutsche Entomologische Zeitschrift', 2], ['European Journal of Taxonomy', 39], ['Insecta Mundi', 6], ['Journal of Orthoptera Research', 20], ['Proceedings of the Japanese Society of Systematic Zoology', 1], ['Zoological Systematics', 21], ['Zoosystema', 108], ['Zootaxa', 518] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=720)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);