function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 55], ['Acarological Studies', 3], ['Bulletin of the Ohio Biological Survey', 1], ['Ecologica Montenegrina', 28], ['European Journal of Taxonomy', 5], ['Journal of Natural History', 3], ['Leaflets of Acadian Biology', 13], ['Proceedings of the Indiana Academy Science', 1], ['Sitzungsberichte der Naturforschenden Gesellschaft zu Leipzig', 1], ['Transactions of the American Microscopical Society', 6], ['Transactions of the Wisconsin Academy of Sciences Arts and Letters', 1], ['ZooKeys', 134], ['Zoological Journal of the Linnean Society', 4], ['Zoological Systematics', 5], ['Zootaxa', 283] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=543)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);