function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anzeiger', 1], ['Cybium', 2], ['European Journal of Taxonomy', 2], ['Inst. Océanogr. L\'Indochine', 1], ['Proceedings of the Boston Society of Natural History', 2], ['Proceedings of the Zoological Society of London, B', 1], ['Report of the British Association for the Advancement of Science', 1], ['Sitzungsberichte der Kaiserlichen Akademie der Wissenschaften, Mathematisch-Naturwissenschaften Classe', 1], ['The Journal of the Indian Archipelago and Eastern Asia', 1], ['Turkish Journal of Zoology', 5], ['Zootaxa', 13] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=30)', 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);