function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Geobios', 2], ['Handbook of the Mammals of the World – Volume 1 Carnivores', 35], ['Magasin Encyclopédique, ou Journal des Sciences, des Lettres et des Arts', 1], ['Mammal Species of the World (1 st Edition)', 54], ['Mammal Species of the World (2 nd Edition)', 57], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 93], ['Palaeontologia Electronica', 1], ['Proceedings of the Zoological Society of London', 8], ['Zoosystema', 3], ['Öfversigt af Konglelige Vetenskaps-Akademiens Förhandlingar', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=255)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);