function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the American Museum of Natural History', 1], ['Handbook of the Mammals of the World – Volume 7 Rodents II', 66], ['Mammal Species of the World (1 st Edition)', 50], ['Mammal Species of the World (2 nd Edition)', 54], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 2', 57], ['Mammalian Species', 5], ['Special Publications of the Museum of Texas Tech University', 16], ['University of Kansas Publications, Museum of Natural History', 1], ['Zootaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=262)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);