function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Academiae Scientiarum Hungaricae', 62], ['African Invertebrates', 279], ['Biodiversity Data Journal', 1898], ['Bulletin of the National Science Museum, Series A (Zoology)', 91], ['Ecologica Montenegrina', 49], ['European Journal of Taxonomy', 293], ['Journal of Natural History', 640], ['Raffles Bulletin of Zoology', 94], ['Records of the Australian Museum', 142], ['Report on the Scientific Results of the Voyage of H. M. S. Challenger During the Years 1873 – 76, Zoology', 120], ['Species Diversity', 89], ['ZooKeys', 1111], ['Zoological Journal of the Linnean Society', 246], ['Zoosystema', 285], ['Zootaxa', 8052], ['Other (172)', 646] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=14097)', 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);