function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 4], ['Annals of the Lyceum of Natural History of New York', 1], ['Bulletin of the American Museum of Natural History', 10], ['Check List', 10], ['Geodiversitas', 1], ['Handbook of the Mammals of the World – Volume 8 Insectivores, Sloths and Colugos', 21], ['Historical biology', 1], ['Laurentius Salvius', 7], ['Mammal Species of the World (1 st Edition)', 29], ['Mammal Species of the World (2 nd Edition)', 29], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 48], ['Mammalian Species', 10], ['Persian Journal of Acarology', 1], ['Public Library of Science, ONE', 1], ['Zootaxa', 17], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=191)', 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);