function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 160], ['European Journal of Taxonomy', 32], ['Geodiversitas', 180], ['Journal of Natural History', 123], ['Laurentius Salvius', 63], ['Memoirs of the Queensland Museu Nature', 128], ['Raffles Bulletin of Zoology', 84], ['Records of the Australian Museum', 237], ['Report on the Scientific Results of the Voyage of H. M. S. Challenger during the Years 1873 – 76, Zoology', 34], ['Zitteliana', 143], ['ZooKeys', 668], ['Zoological Journal of the Linnean Society', 130], ['Zoologische Mededelingen, Leiden', 40], ['Zoosystema', 45], ['Zootaxa', 1662], ['Other (112)', 468] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=4197)', 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);