function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Geodiversitas', 4], ['Handbook of the Mammals of the World – Volume 4 Sea Mammals', 19], ['Journal of Vertebrate Paleontology', 1], ['Laurentius Salvius', 5], ['Mammal Species of the World (1 st Edition)', 30], ['Mammal Species of the World (2 nd Edition)', 30], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 44], ['Memoirs of Museum Victoria', 1], ['Palaeontologia Electronica', 2], ['Royal Society Open Science', 9], ['Vestnik Zoologii', 22], ['Zoodiversity', 4], ['Zoological Journal of the Linnean Society', 3], ['Zoosystema', 3], ['Zootaxa', 10], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=192)', 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);