function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anton', 1], ['Baillière', 1], ['European Journal of Taxonomy', 8], ['Geodiversitas', 2], ['Proceedings of the California Academy of Sciences, Series 2', 1], ['Proceedings of the United States National Museum', 1], ['Venus, Journal of the Malacological Society of Japan', 2], ['Zoologicheskii Zhurnal', 1], ['Zoosystema', 2], ['Zoosystematics and Evolution', 11], ['Zootaxa', 18] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=48)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);