function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Chiropterologica', 2], ['American Museum Novitates', 1], ['Bulletin of the American Museum of Natural History', 6], ['Fossil Imprint', 1], ['Handbook of the Mammals of the World – Volume 9 Bats', 24], ['Journal of Mammalogy', 1], ['Journal of mammalogy', 1], ['Mammal Species of the World (1 st Edition)', 35], ['Mammal Species of the World (2 nd Edition)', 33], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 46], ['Mammalian Species', 1], ['Therya', 9], ['Zoologia', 3], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=170)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);