function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annalen des kaiserlich-königlichen naturhistorischen Hofmuseums', 1], ['Archives du Muséum d\'Histoire Naturelle de Lyon', 1], ['Basteria', 1], ['Deterville', 1], ['European Journal of Taxonomy', 2], ['Geodiversitas', 12], ['Johan. Christi. Trappii', 2], ['Journal of Natural History', 1], ['Journal of paleontology', 3], ['K. K. Hof-naturalien-cabinet', 1], ['Kansas University Geological Survey', 1], ['Laurentius Salvius', 30], ['Quarterly Journal of the Geological Society, London', 2], ['Transactions of the geological society of London, 2', 4], ['Zootaxa', 11], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=78)', 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);