function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Akademiia Nauk SSSR, Trudy P. P. Shirshov Instytut Okeanologii', 1], ['Biol. Results " Endeavour "', 1], ['Bulletin of the United States Fish Commission', 1], ['European Journal of Taxonomy', 2], ['Proceedings of the New England Zoölogical Club', 1], ['Proceedings of the United States National Museum, 3', 1], ['Sanderiano Commissum', 1], ['The Danish “', 1], ['Voprosy Ikhtiologii', 1], ['Zootaxa', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=16)', 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);