function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 2], ['Biodiversity Data Journal', 4], ['Biodiversity journal', 1], ['Contributions to Zoology', 16], ['European Journal of Taxonomy', 7], ['Journal of Molluscan Studies', 1], ['Journal of Natural History', 2], ['Raffles Bulletin of Zoology', 11], ['ZooKeys', 129], ['Zoosystema', 3], ['Zootaxa', 13] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=189)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);