function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Société Entomologique de France, Séries 1 - 6', 3], ['Biodiversity Data Journal', 4], ['CHIRONOMUS Journal of Chironomidae Research', 2], ['Japanese Journal of Systematic Entomology', 3], ['Proceedings of the Japanese Society of Systematic Zoology', 4], ['Proceedings of the Zoological Society of London', 1], ['Raffles Bulletin of Zoology', 2], ['Species Diversity', 2], ['Systematic Entomology', 1], ['ZooKeys', 6], ['Zoological Journal of the Linnean Society', 1], ['Zootaxa', 366] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=395)', 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);