function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Parasitologica', 4], ['Annales zoologici', 1], ['Berliner Tieraerztliche Wochenschrift', 1], ['European Journal of Taxonomy', 26], ['Journal of Natural History', 7], ['Proceedings of the Japanese Society of Systematic Zoology', 8], ['Records of the Australian Museum', 10], ['Revue suisse de Zoologie', 2], ['Species Diversity', 9], ['Syst Parasitol', 3], ['Systematic Parasitology', 2], ['Vestnik Zoologii', 10], ['ZooKeys', 20], ['Zoological Science', 21], ['Zootaxa', 155], ['Other (7)', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=286)', 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);