function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anzeiger', 1], ['Bulletin Inst. Oceanogr. Fish.', 1], ['Colonial Museum and Geological Survey Department', 1], ['European Journal of Taxonomy', 3], ['F. Schoell', 4], ['Journal of Natural History', 1], ['Philosophical Transactions of the Royal Society, B: Biological Sciences', 2], ['Proceedings of the California Academy of Sciences, Series 1', 1], ['Proceedings of the Zoological Society of London, B', 1], ['Revista de Biologia Marina.', 1], ['Salviucci', 1], ['The American Journal of Science, Series 3', 1], ['Transactions of the Zoological Society of London', 1], ['Whittaker', 1], ['Zootaxa', 15], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=36)', 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);