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', 2], ['Raffles Bulletin of Zoology', 1], ['Records of the Indian Museum', 3], ['Zoological Journal of the Linnean Society', 19], ['Zootaxa', 25] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=57)', 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);