function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Australian Journal of Marine and Freshwater Research', 1], ['Biol. Results " Endeavour "', 1], ['Bulletin de l\'Institut Royal des Sciences Naturelles de Belgique', 1], ['Byulleten Moskovskogo Obshchestva Ispytatelei Prirody Otdel Biologicheskii [Bull. Moscow Soc. Naturalists Biol. Ser.], otdel\' bi', 1], ['Ichthyological Research', 1], ['ZooKeys', 1], ['Zootaxa', 3] ]); 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);