function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Tropica', 1], ['Arkiv för zoologi, 2', 2], ['Folia Parasitologica', 2], ['Frontiers in Marine Science', 2], ['Meiofauna Marina', 3], ['Nature', 4], ['Proceedings of the Biological Society of Washington', 4], ['Proceedings of the Japanese Society of Systematic Zoology', 2], ['Public Library of Science, ONE', 12], ['Species Diversity', 3], ['Systematics and Biodiversity', 2], ['The Edinburgh New Philosophical Journal, new series', 3], ['Zoologica Scripta', 4], ['Zoological Science', 10], ['Zoologischer Anzeiger', 3], ['Other (17)', 17] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=74)', 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);