function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the American Museum of Natural History', 3], ['Check List', 1], ['E. J. Brill', 1], ['Geodiversitas', 3], ['Handbook of the Mammals of the World – Volume 6 Lagomorphs and Rodents I', 28], ['Laurentius Salvius', 8], ['Mammal Species of the World (1 st Edition)', 29], ['Mammal Species of the World (2 nd Edition)', 29], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 2', 91], ['Mammalia', 1], ['Mammalian Species', 6], ['P. van Cleef', 1], ['Printed at the Government Gazette Office', 1], ['Transactions of the Linnean Society of London', 2], ['Zootaxa', 6], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=211)', 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);