function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the United States National Museum', 1], ['NOAA (National Oceanic and Atmospheric Administration) Technical Report NMFS (National Marine Fisheries Service), Circular', 1], ['Northeast Gulf Science', 1], ['Proceedings of the United States National Museum, 3', 1], ['Repertorio Fisico-Natural de la Isla de Cuba', 1], ['Zoologica', 1], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=8)', 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);