function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Polonica', 1], ['Bulletin of the Florida State Museum, Biological Sciences', 1], ['Contributions from the Museum of Paleontology, The University of Michigan', 1], ['European Journal of Taxonomy', 2], ['Fossil Record', 1], ['Geodiversitas', 2], ['Handbook of the Mammals of the World – Volume 4 Sea Mammals', 2], ['Journal of Vertebrate Paleontology', 6], ['Kungliga Svenska Vetenskapsakademiens Handlingar', 1], ['London Medical Repository', 1], ['Mammal Species of the World (1 st Edition)', 5], ['Mammal Species of the World (2 nd Edition)', 5], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 7], ['Neues Jahrbuch für Geologie und Paläontologie, Abhandlungen', 1], ['Plassan', 1], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=40)', 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);