function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 9], ['Geodiversitas', 2], ['Johan. Christi. Trappii', 11], ['Journal of Natural History', 12], ['Laurentius Salvius', 37], ['Linzer biologische Beiträge', 4], ['Memoirs of the College of Science, Kyoto Imperial University, Series B', 2], ['Molluscan Research', 4], ['Records of the Zoological Survey of India', 3], ['Report on the Scientific Results of the Voyage of H. M. S. Challenger During the Years 1873 – 76, Zoology', 16], ['Schultz', 4], ['Transactions of the geological society of London, 2', 2], ['ZooKeys', 8], ['Zoological Journal of the Linnean Society', 8], ['Zootaxa', 10], ['Other (13)', 14] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=146)', 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);