function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin de la Société Philomathique de Paris, Série 7', 1], ['Denkschriften der Kaiserlichen Akademie der Wissenschaften, Wien', 1], ['Laurentii Salvii', 2], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 1], ['Privately published', 7], ['Proceedings of the California Academy of Sciences, Series 2', 1], ['Proceedings of the Linnean Society of New South Wales', 2], ['Records of the Australian Museum', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=16)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);