function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Naturgeschichte', 1], ['Biodiversity journal', 1], ['Bulletin of the National Museum of Nature and Science, Series A (Zoology)', 1], ['European Journal of Taxonomy', 17], ['Marine Biology Research', 5], ['Nouvelles Archives du Muséum d’Histoire naturelle, Paris', 1], ['Palaeontologia Electronica', 4], ['Raffles Bulletin of Zoology', 9], ['Records of the Australian Museum', 3], ['Records of the Indian Museum', 1], ['Zoosystema', 5], ['Zootaxa', 64] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=112)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);