function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 162], ['Bonn Zoological Bulletin', 12], ['Bulletin of the American Museum of Natural History', 37], ['Geodiversitas', 13], ['Handbook of the Mammals of the World – Volume 8 Insectivores, Sloths and Colugos', 500], ['Laurentius Salvius', 7], ['Mammal Species of the World (1 st Edition)', 21], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 602], ['Mammalia', 5], ['Mammalian Species', 3], ['Palaeontologia Electronica', 13], ['ZooKeys', 5], ['Zoological Journal of the Linnean Society', 18], ['Zoosystema', 11], ['Zootaxa', 107], ['Other (28)', 37] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1553)', 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);