function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Akademiia Nauk SSSR, Trudy P. P. Shirshov Instytut Okeanologii', 4], ['Biol. Results " Endeavour "', 1], ['Bulletin de la Société Zoologique de France', 1], ['European Journal of Taxonomy', 4], ['Sitzungsberichte der Gesellschaft Naturforschender Freunde zu Berlin', 1], ['Voprosy Ikhtiologii', 1], ['ZooKeys', 4], ['Zoologicheskii Zhurnal', 1], ['Zootaxa', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=22)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);