function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Polonica', 1], ['Bulletin of the American Museum of Natural History', 8], ['Bulletin of the Florida Museum of Natural History', 3], ['Bulletin of the Southern California Academy of Sciences', 1], ['Check List', 14], ['Fossil Imprint', 1], ['Geodiversitas', 2], ['Handbook of the Mammals of the World – Volume 1 Carnivores', 13], ['Litteris Reissianis', 2], ['Mammal Species of the World (1 st Edition)', 27], ['Mammal Species of the World (2 nd Edition)', 27], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 54], ['Report on the Scientific Results of the Voyage of H. M. S. Challenger During the Years 1873 – 76, Zoology', 3], ['ZooKeys', 8], ['Zootaxa', 7], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=172)', 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);