function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Faculte des Sciences du Cameroun', 1], ['Archiv für Protistenkunde', 1], ['Journal of Eukaryotic Microbiology', 1], ['Journal of Morphology', 1], ['Journal of Natural History', 4], ['Journal of Protozoology', 1], ['Journal of Species Research', 2], ['Matematikai és Természettudományi Értesítő', 1], ['Mémoires du Muséum national d\'Histoire naturelle', 2], ['The American Naturalist', 1], ['The Biological Bulletin', 1], ['Transactions of the American Microscopical Society', 5], ['Wilhelm Engelmann', 1], ['Zoologicheskii Zhurnal', 4], ['Zootaxa', 18] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=44)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);