function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Aqua, Journal of Ichthyology and Aquatic Biology', 11], ['Breviora', 1], ['Bulletin of the United States Bureau of Fisheries', 1], ['Canadian Journal of Zoology', 5], ['Journal of the Ocean Science Foundation', 2], ['Raffles Bulletin of Zoology', 2], ['Revue française d\'Aquariologie Herpétologie', 3], ['Tokai University Press', 1], ['Zootaxa', 67], ['aqua, International Journal of Ichthyology', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=96)', 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);