function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the American Museum of Natural History', 43], ['Bulletin of the Department of Geology.', 4], ['Bulletin of the Florida State Museum, Biological Sciences', 3], ['Check List', 17], ['Geodiversitas', 21], ['Handbook of the Mammals of the World – Volume 1 Carnivores', 36], ['Laurentius Salvius', 19], ['Mammal Species of the World (1 st Edition)', 47], ['Mammal Species of the World (2 nd Edition)', 48], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 138], ['Mammalian Species', 8], ['Weygand', 5], ['Zoological Journal of the Linnean Society', 8], ['Zoosystema', 4], ['Zootaxa', 18], ['Other (20)', 30] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=449)', 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);