function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin General et Universel des Annonces et de Nouvelles Scientifiques', 1], ['Bulletin of the British Ornithologists\' Club', 1], ['Catalogue of the Birds in the British Museum', 1], ['Dictionnaire des Sciences Naturelles', 1], ['J. G. Müller', 1], ['Laurentius Salvius', 3], ['Proceedings of the Linnean Society of New South Wales', 1], ['Proceedings of the Zoological Society of London', 1], ['The Austral Avian Records', 1], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=14)', 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);