function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Parasitologica', 1], ['American Museum Novitates', 1], ['Annals of the Brazilian Academy of Sciences', 1], ['Bijdragen tot de Dierkunde', 4], ['Biodiversity Data Journal', 2], ['Contributions to Zoology', 3], ['Journal of Natural History', 19], ['Proceedings of the United States National Museum', 18], ['Sanfilippo', 2], ['Species Diversity', 19], ['Systematic Parasitology', 4], ['ZooKeys', 39], ['Zoological Science', 3], ['Zoosystema', 9], ['Zootaxa', 368], ['Other (11)', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=504)', 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);