function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annalen des Naturhistorischen Museums in Wien', 4], ['Arch. Zool. Anat. Fisiol., Genova, 2', 1], ['Archiv für Naturgeschichte', 1], ['Check List', 1], ['Eawag: Swiss Federal Institute of Aquatic Science and Technology', 1], ['Nouveaux Mémoires de la Société Impériale des Naturalistes de Moscou', 1], ['Report of the British Association for the Advancement of Science', 1], ['The Journal of the Linnean Society of London, Zoology', 1], ['Turkish Journal of Zoology', 1], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=15)', 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);