function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Bertrand', 1], ['Bulletin of the United States Geological and Geographical Survey of the Territories', 1], ['Check List', 8], ['Geodiversitas', 1], ['Handbook of the Mammals of the World – Volume 1 Carnivores', 13], ['J. J. Dubochet et Ce', 3], ['Magasin Encyclopédique, ou Journal des Sciences, des Lettres et des Arts', 1], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 54], ['Mammalian Species', 1], ['North American Fauna', 4], ['Nouveau dictionnaire d\'histoire naturelle, appliquée aux arts, à l\'agriculture, à l\'économie rurale et domestique, à la médecine', 1], ['Proceedings of the Biological Society of Washington', 3], ['Proceedings of the Boston Society of Natural History', 1], ['Zootaxa', 6], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=104)', 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);