function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Chiropterologica', 564], ['American Museum Novitates', 574], ['Bulletin of the American Museum of Natural History', 1159], ['Geodiversitas', 1016], ['Handbook of the Mammals of the World – Volume 3 Primates', 492], ['Handbook of the Mammals of the World – Volume 6 Lagomorphs and Rodents I', 851], ['Handbook of the Mammals of the World – Volume 7 Rodents II', 1718], ['Handbook of the Mammals of the World – Volume 8 Insectivores, Sloths and Colugos', 673], ['Handbook of the Mammals of the World – Volume 9 Bats', 1399], ['Mammal Species of the World (1 st Edition)', 5376], ['Mammal Species of the World (2 nd Edition)', 5951], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 6513], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 2', 3530], ['Zoological Journal of the Linnean Society', 662], ['Zootaxa', 1629], ['Other (308)', 4843] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=36950)', 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);