function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin de la Société Philomathique de Paris, Série 7', 1], ['Fieldiana Zoology, New Series', 1], ['Journal and Proceedings of the Asiatic Society of Bengal', 1], ['Journal of the Siam Society Natural History, Supplement', 1], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 2], ['Notes from the Leyden Museum', 2], ['Nouvelles Archives du Muséum d\'Histoire Naturelle, Paris, Série 2', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=9)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);