function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['Bollettino della Società Zoologica Italiana, Series 3', 1], ['Geodiversitas', 1], ['Journal of Natural History', 1], ['Journal of Paleontology', 1], ['Journal of the Academy of Natural Sciences of Philadelphia', 2], ['Laurentius Salvius', 6], ['Papéis Avulsos de Zoologia', 1], ['Quarterly Journal of the Geological Society, London', 1], ['Records of the Zoological Survey of India', 1], ['The Bulletin of the Russian Far East Malacological Society', 4], ['Transactions of the geological society of London, 2', 1], ['ZooKeys', 2], ['Zoosystema', 1], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=25)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);