function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Polonica', 16], ['Bulletin of the American Museum of Natural History', 20], ['Check List', 27], ['European Journal of Taxonomy', 13], ['Fossil Imprint', 15], ['Geodiversitas', 145], ['Handbook of the Mammals of the World – Volume 2 Hoofed Mammals', 319], ['Laurentius Salvius', 53], ['Mammal Species of the World (1 st Edition)', 273], ['Mammal Species of the World (2 nd Edition)', 308], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 520], ['Mammalian Species', 19], ['Zoological Journal of the Linnean Society', 61], ['Zoosystema', 17], ['Zootaxa', 62], ['Other (56)', 171] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=2039)', 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);