function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales des Sciences Naturelles, Zoologie, Série 5', 1], ['Asiatic Researches', 1], ['Bulletin de la Société des Études Indochinoises', 1], ['FishTaxa', 2], ['Japanese Journal of Ichthyology', 1], ['Proceedings of the California Academy of Sciences, Series 4', 1], ['Raffles Bulletin of Zoology', 1], ['Records of the Indian Museum', 3], ['Zoological Journal of the Linnean Society', 18], ['Zootaxa', 24] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=53)', 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);