function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 43], ['Geodiversitas', 3], ['Johan Christi. Trappii', 2], ['Johan. Christi. Trappii', 7], ['Journal of Natural History', 1], ['Journal of the Academy of Natural Sciences of Philadelphia', 1], ['Journal of the Royal Society of New Zealand', 1], ['Maruzen', 1], ['Records of the Australian Museum', 1], ['The Bulletin of the Russian Far East Malacological Society', 2], ['Transactions of the geological society of London, 2', 1], ['U. S. Geological Survey, Professional Paper', 2], ['Visaya', 4], ['Zoosystema', 3], ['Zootaxa', 48], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=123)', 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);