function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Parasitologica', 1], ['Acta Zootaxonomica Sinica', 1], ['African Invertebrates', 2], ['Antarctic Research Series', 2], ['Biološki Vestnik', 1], ['Comparative Parasitology', 5], ['Dobutsugaku Zasshi', 5], ['Ecologica Montenegrina', 6], ['Journal of Parasitology', 3], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Proceedings of the Zoological Society of London, B', 2], ['Transactions of the American Microscopical Society', 3], ['Transactions of the Royal Society of New Zealand', 2], ['ZooKeys', 9], ['Zootaxa', 7], ['Other (13)', 13] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=64)', 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);