function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibian & Reptile Conservation', 24], ['Australasian Journal of Herpetology', 9], ['Check List', 14], ['European Journal of Taxonomy', 14], ['Herpetozoa', 12], ['Journal of Natural History', 12], ['PeerJ', 8], ['Proceedings of the California Academy of Sciences', 12], ['Raffles Bulletin of Zoology', 16], ['Records of the Western Australian Museum', 10], ['Vertebrate Zoology', 44], ['ZooKeys', 51], ['Zoosystema', 27], ['Zoosystematics and Evolution', 19], ['Zootaxa', 875], ['Other (26)', 67] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1214)', 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);