function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 33], ['Bulletin of the American Museum of Natural History', 92], ['Check List', 87], ['Fossil Imprint', 44], ['Geodiversitas', 193], ['Handbook of the Mammals of the World – Volume 1 Carnivores', 256], ['Handbook of the Mammals of the World – Volume 4 Sea Mammals', 36], ['Laurentius Salvius', 53], ['Mammal Species of the World (1 st Edition)', 391], ['Mammal Species of the World (2 nd Edition)', 432], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 1002], ['Proceedings of the Biological Society of Washington', 58], ['Zoological Journal of the Linnean Society', 76], ['Zoosystema', 30], ['Zootaxa', 117], ['Other (83)', 272] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=3172)', 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);