function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Alcheringa: An Australasian Journal of Palaeontology', 2], ['American Museum Novitates', 9], ['Bulletin of the American Museum of Natural History', 40], ['Handbook of the Mammals of the World – Volume 5 Monotremes and Marsupials', 151], ['Journal of Vertebrate Paleontology', 3], ['Mammal Species of the World (2 nd Edition)', 163], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 265], ['Mammalian Species', 8], ['Megataxa', 13], ['Palaeontologia Electronica', 8], ['R. & J. E. Taylor', 2], ['Records of the Australian Museum', 48], ['Zoological Journal of the Linnean Society', 15], ['Zoosystema', 23], ['Zootaxa', 39], ['Other (6)', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=795)', 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);