function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the Bingham Oceanographic Collection Yale University', 1], ['Contributions in Science of the Natural History Museum of Los Angeles County', 1], ['Copeia', 2], ['European Journal of Taxonomy', 5], ['Memoirs of Museum Victoria', 3], ['The Danish “', 9], ['Zootaxa', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=30)', 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);