function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Copeia', 1], ['Ichthyological Bulletin of the J. L. B. Smith Institute of Ichthyology', 1], ['Journal of the Bombay Natural History Society', 1], ['Proceedings of the Biological Society of Washington', 2], ['Proceedings of the United States National Museum, 3', 1], ['Records of the Australian Museum', 5], ['Stanford Ichthyological Bulletin', 1], ['Zootaxa', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=22)', 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);