function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the Florida State Museum, Biological Sciences', 1], ['Cybium', 1], ['European Journal of Taxonomy', 2], ['Galathea Report', 1], ['Journal of Systematic Palaeontology', 1], ['Laurentius Salvius', 2], ['Pacific Science', 1], ['Proceedings of the United States National Museum, 3', 2], ['Special Bulletin of the United States National Museum', 1], ['United States Fish & Wildlife Service Fishery Bulletin', 3], ['Voprosy Ikhtiologii', 2], ['Zootaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=29)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);