function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Constable', 1], ['Bulletin de l\'Institut Royal des Sciences Naturelles de Belgique', 1], ['Journal of Fish Biology', 1], ['Koninklijk Mus. Midden-Afr. Tervuren', 5], ['Occasional Papers on Ichthyology', 5], ['Raffles Bulletin of Zoology', 1], ['Zoological Journal of the Linnean Society', 1], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=17)', 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);