function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Asiatic Researches', 1], ['Bulletin de la Société Philomathique de Paris, Série 7', 3], ['Bulletin de la Société Zoologique de France', 1], ['Madras Journal of Literature and Science', 1], ['Natural History Bulletin of the Siam Society', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Raffles Bulletin of Zoology', 3], ['Vishwavidyalaya Prakashan', 1], ['Zootaxa', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=17)', 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);