function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Arkiv för zoologi, 2', 2], ['BMC Evolutionary Biology', 1], ['Journal of Natural History', 16], ['Journal of Zoological Systematics and Evolutionary Research', 1], ['Memoirs of the Queensland Museum', 1], ['Nature', 4], ['Proceedings of the Royal Society of London, Series B, Biological Sciences', 1], ['Public Library of Science, ONE', 9], ['Trudy Karadahs\'koyi Nauchnoyi Stantsiyi imeni T. I. Vyazems\'koho', 1], ['Zoologica Scripta', 4], ['Zoological Journal of the Linnean Society', 25], ['Zootaxa', 117] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=182)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);