function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Méquignon-Marvis', 1], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 1], ['Proceedings of the Royal Society of Queensland', 1], ['Proceedings of the Zoological Society of London, B', 1], ['Report of the British Association for the Advancement of Science', 1], ['Zoologischer Anzeiger', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=6)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 6, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);