function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Quarterly journal of microscopical science, n. s.', 10], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 2], ['The Glasgow Naturalist. The Journal of the Glasgow and Andersonian Natural History and Microscopical Society.', 1], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=14)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 4, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);