function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Bulletin of the American Museum of Natural History', 1], ['Check List', 1], ['Fossil Imprint', 1], ['Geodiversitas', 3], ['Handbook of the Mammals of the World – Volume 8 Insectivores, Sloths and Colugos', 32], ['Laurentius Salvius', 2], ['Mammal Species of the World (1 st Edition)', 26], ['Mammal Species of the World (2 nd Edition)', 31], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 56], ['Palaeobiodiversity and Palaeoenvironments', 1], ['Palaeontologia Electronica', 2], ['Weigand', 1], ['Weygand', 2], ['Zootaxa', 14], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=176)', 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);