function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin Inst. Fondam. Afr. Noire Sci. Nat., A', 2], ['Bulletin of the United States Bureau of Fisheries', 1], ['Faune Tropicale', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Senckenbergiana Biologica', 1], ['Skrifter Naturhistoriska-Selski. Kiøbenhavn', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=8)', 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);