function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Arachnologica', 5], ['Annales de la Société Entomologique de France, Séries 1 - 6', 1], ['Biodiversity Data Journal', 3], ['Bulletin of the National Museum of Nature and Science, Series A (Zoology)', 5], ['Bulletin of the National Science Museum, Series A (Zoology)', 8], ['Journal of Natural History', 11], ['ZooKeys', 71], ['Zoological Systematics', 8], ['Zoosystema', 9], ['Zootaxa', 96] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=217)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);