function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the United States Bureau of Fisheries', 2], ['Bulletin of the Wisconsin Natural History Society', 1], ['Eawag: Swiss Federal Institute of Aquatic Science and Technology', 1], ['Occasional Papers of the Museum of Zoology, University of Michigan', 2], ['Papers of the Michigan Academy of Science Arts and Letters', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Proceedings of the Biological Society of Washington', 1], ['Turkish Journal of Zoology', 1], ['ZooKeys', 24], ['Zootaxa', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=41)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);