function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Batalleria', 1], ['Bulletin of Geosciences', 1], ['Bulletin of the National Science Museum, Series A (Zoology)', 2], ['DSIR Geology & Geophysics', 1], ['Deterville', 1], ['Geodiversitas', 3], ['Journal of Natural History', 3], ['Journal of the Malacological Society Australia', 2], ['Mémoires du Muséum national d\'Histoire naturelle', 48], ['Quarterly Journal of the Geological Society, London', 4], ['Renaud', 7], ['Transactions of the geological society of London, 2', 4], ['ZooKeys', 5], ['Zoosystematics and Evolution', 31], ['Zootaxa', 47], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=165)', 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);