function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 2], ['Bulletin of the Florida Museum of Natural History', 1], ['Check List', 8], ['Fossil Imprint', 4], ['Geodiversitas', 19], ['Handbook of the Mammals of the World – Volume 6 Lagomorphs and Rodents I', 94], ['Journal of Mammalogy', 7], ['Journal of Vertebrate Paleontology', 1], ['Laurentius Salvius', 5], ['Mammal Species of the World (1 st Edition)', 77], ['Mammal Species of the World (2 nd Edition)', 95], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 273], ['Palaeontologia Electronica', 2], ['Zoosystema', 2], ['Zootaxa', 18], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=610)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);