function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin de la Société Philomathique de Paris, Série 7', 2], ['Copeia', 1], ['Japanese Journal of Ichthyology', 1], ['Monogr. Bur. Sci. Manila', 1], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 1], ['Proceedings of the Biological Society of Washington', 1], ['Proceedings of the Linnean Society of New South Wales', 2], ['Verhandlungen des Naturhistorisch-Medizinischen Vereins zu Heidelberg', 1], ['Voorst', 1], ['Zootaxa', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=17)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);