function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin des Sciences par la Société Philomathique de Paris', 1], ['Comptes Rendus Hebdomadaires des Séances de l\'Académie des Sciences', 1], ['Geobios', 1], ['Geodiversitas', 14], ['Handbook of the Mammals of the World – Volume 1 Carnivores', 5], ['Mammal Species of the World (1 st Edition)', 6], ['Mammal Species of the World (2 nd Edition)', 12], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 8], ['Mammalian Species', 2], ['Palaeontologia Electronica', 1], ['Weigand', 1], ['Zoological Journal of the Linnean Society', 1], ['Zoosystema', 2], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=56)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);